-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: add console e2e testing with playwright #2462
Conversation
3be5c3a
to
6aa4901
Compare
ae8d14c
to
18b9e13
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yay!!
frontend/tests/verb.spec.ts
Outdated
const sendButton = page.getByText('Send') | ||
await sendButton.click() | ||
|
||
await expect(page.getByText('{"message":"Hello')).toBeVisible({ timeout: 30000 }) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does the timeout need to be this long?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm going to remove that test for now, it's flakey :)
18b9e13
to
a4d9c04
Compare
@alecthomas I feel like maybe this should move to integration tests instead of CI, whatcha think? Do we have a way to add non-go tests to the integration workflow in CI? Maybe not a massive issue yet, since this seems faster than the |
I'm gonna merge this one and follow up with a PR to move these to run in the merge queue and separate out |
Fixes #2416