Skip to content

[stable32] fix(tests): Fix flaky tests - #67285

Merged
artonge merged 3 commits into
stable32from
backport/67261/stable32
Dec 1, 2026
Merged

artonge merged 3 commits into
stable32from
backport/67261/stable32

Conversation

@backportbot

@backportbot backportbot Bot commented Dec 1, 2026 •

Copy link
Copy Markdown

Backport of #67261

Warning, This backport's changes differ from the original and might be incomplete ⚠️

Todo

  • Review and resolve any conflicts
  • Review and verify the backported changes
  • Amend HEAD commit to remove the line stating to skip CI

Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports.

@backportbot backportbot Bot added the 3. to review Waiting for reviews label Dec 1, 2026
Assisted-by: ClaudeCode:claude-opus-5-5
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
@CarlSchwan
CarlSchwan force-pushed the backport/67261/stable32 branch from 350380a to ad0a547 Compare December 1, 2026 10:42
@CarlSchwan CarlSchwan changed the title [stable32] [stable29] fix(tests): Fix flaky tests [stable32] fix(tests): Fix flaky tests Dec 1, 2026
@CarlSchwan
CarlSchwan marked this pull request as ready for review December 1, 2026 12:20
@CarlSchwan
CarlSchwan requested review from a team as code owners December 1, 2026 12:20
@CarlSchwan
CarlSchwan requested review from kristian-zendato and skjnldsv and removed request for a team December 1, 2026 12:20
The profile toggle on stable32 is rendered with the switch role, so
looking it up as a checkbox always failed.

Assisted-by: ClaudeCode:claude-opus-5-5
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Asserting that an element is missing with findBy*().rejects waits for
the full async timeout of one second each time, which pushed the tests
close to and sometimes over the 5s vitest timeout on CI. Use queryBy*
instead, as these checks run once the DOM has already settled.

Assisted-by: ClaudeCode:claude-opus-5-5
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
@artonge
artonge merged commit 662af51 into stable32 Dec 1, 2026
194 of 201 checks passed
@artonge
artonge deleted the backport/67261/stable32 branch December 1, 2026 16:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants