Skip to content

Conversation

@fayi-da
Copy link
Contributor

@fayi-da fayi-da commented Oct 14, 2025

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

  • If a cluster test is required, comment /cluster_test on this PR to request it, and ping someone with access to the DA-internal system to approve it.
  • If a hard-migration test is required (from the latest release), comment /hdm_test on this PR to request it, and ping someone with access to the DA-internal system to approve it.

PR Guidelines

  • Include any change that might be observable by our partners or affect their deployment in the release notes.
  • Specify fixed issues with Fixes #n, and mention issues worked on using #n
  • Include a screenshot for frontend-related PRs - see README or use your favorite screenshot tool

Merge Guidelines

  • Make the git commit message look sensible when squash-merging on GitHub (most likely: just copy your PR description).

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>
@fayi-da fayi-da force-pushed the fayi/bump-ui-tests-timeout branch from 7985253 to 435b2de Compare October 14, 2025 09:07
Signed-off-by: fayi-da <fayimora.femibalogun@digitalasset.com>
Signed-off-by: fayi-da <fayimora.femibalogun@digitalasset.com>
@fayi-da fayi-da marked this pull request as ready for review October 14, 2025 10:29
environment: 'happy-dom',
exclude: ['../lib/**'],
silent: false,
testTimeout: 15000,
Copy link
Contributor Author

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

@fayi-da fayi-da changed the title Bump UI tests timeout Bump UI tests global timeout Oct 14, 2025
environment: 'happy-dom',
exclude: ['../lib/**'],
silent: false,
testTimeout: 15000,
Copy link
Contributor

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

Copy link
Contributor Author

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).

Copy link
Contributor

@OriolMunoz-da OriolMunoz-da left a 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

@fayi-da fayi-da merged commit 7a85cd8 into main Oct 14, 2025
58 checks passed
@fayi-da fayi-da deleted the fayi/bump-ui-tests-timeout branch October 14, 2025 11:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants