-
Notifications
You must be signed in to change notification settings - Fork 59
Bump UI tests global timeout #2685
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
Conversation
Seems like some ui tests run slower in ci. It's random so maybe a resource thing. I noticed in the docs that there's a new beta feature that sets browser tests to have a 15s timeout. I dont want to use a beta feature so I'm just manually bumping the global timeout here to 15_000ms https://vitest.dev/config/#testtimeout https://vitest.dev/guide/browser/ Signed-off-by: fayi-da <fayimora.femibalogun@digitalasset.com>
Signed-off-by: fayi-da <fayimora.femibalogun@digitalasset.com>
7985253 to
435b2de
Compare
Signed-off-by: fayi-da <fayimora.femibalogun@digitalasset.com>
Signed-off-by: fayi-da <fayimora.femibalogun@digitalasset.com>
| environment: 'happy-dom', | ||
| exclude: ['../lib/**'], | ||
| silent: false, | ||
| testTimeout: 15000, |
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.
Main change is here. The rest is just formatting and removing individual timeouts
| environment: 'happy-dom', | ||
| exclude: ['../lib/**'], | ||
| silent: false, | ||
| testTimeout: 15000, |
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.
have you tried setting this to 1 and checking that all tests fail after a timeout? I once tried to change it and miserably failed, but might be due to commons needing rebuilding and such
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.
haha yeah that i'll be because of the 2 config files we have here. Almost caught me off guard too. The config in index is what we seem to be using so I'll create a tech debt to remove the other config(hopefully it's straightforward).
OriolMunoz-da
left a comment
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.
if it works lgtm
Seems like some ui tests run slower in ci. It's random so maybe a resource thing. I noticed in the docs that there's a new beta feature that sets browser tests to have a 15s timeout. I don't want to use a beta feature so I'm just manually bumping the global timeout here to 15_000ms
https://vitest.dev/config/#testtimeout
https://vitest.dev/guide/browser/
Fixes https://github.com/DACH-NY/cn-test-failures/issues/5916
Pull Request Checklist
Cluster Testing
/cluster_teston this PR to request it, and ping someone with access to the DA-internal system to approve it./hdm_teston this PR to request it, and ping someone with access to the DA-internal system to approve it.PR Guidelines
Fixes #n, and mention issues worked on using#nMerge Guidelines