Skip to content

Tests: fix two flaky checks (overflow after resize, first dashboard load) - #237

Merged
velixio merged 2 commits into
mainfrom
fix/account-sessions-e2e-flake
Dec 1, 2026
Merged

velixio merged 2 commits into
mainfrom
fix/account-sessions-e2e-flake

Conversation

@velixio

@velixio velixio commented Dec 1, 2026 •

Copy link
Copy Markdown
Owner

Two flakes that turned unrelated runs red today. Test-only changes.

  1. e2e overflow check: account-sessions.spec.ts failed once on main (run 46666300129). It measured scrollWidth right after setViewportSize, before the page reflowed. It passes 3/3 locally. Switched to expect.poll, as sessions.spec.ts already does, in the three specs that measured once.
  2. Dashboard unit test: "clicking a country row adds the is filter" failed twice on CI (Replay: one large Play/Pause in the player's controls #235 and this PR). Its first waitFor used the default 1 s, and the first dashboard load can take longer than that on a busy runner (1139 ms in a failed run). It now gets 5 s, like the other first-load waits in the same file.

@coderabbitai

coderabbitai Bot commented Dec 1, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 51 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

Commits

Reviewing files that changed from the base of the PR and between e76c304 and 5c713f8.

Files selected for processing: 4

  • web/e2e/account-sessions.spec.ts
  • web/e2e/ga4-import.spec.ts
  • web/e2e/mixpanel-amplitude-import.spec.ts
  • web/src/routes/-dashboard-breakdowns.test.tsx

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@velixio velixio changed the title e2e: poll the horizontal-overflow check after a viewport resize Tests: fix two flaky checks (overflow after resize, first dashboard load) Dec 1, 2026
@velixio
velixio merged commit 05be0e3 into main Dec 1, 2026
22 checks passed
@velixio
velixio deleted the fix/account-sessions-e2e-flake branch December 1, 2026 15:27
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.

1 participant