Skip to content

[Fix] Reduce intermittent Cypress test failures - #4

Draft
openroomote-bruno[bot] wants to merge 1 commit into
masterfrom
fix/stabilize-e2e-timing-2agtlk3i56oj8
Draft

openroomote-bruno[bot] wants to merge 1 commit into
masterfrom
fix/stabilize-e2e-timing-2agtlk3i56oj8

Conversation

@openroomote-bruno

Copy link
Copy Markdown

​Created by Roomote. View the task or mention @roomote for follow-up asks.

What changed

Replaced two fixed-delay Cypress waits with deterministic synchronization. The embed-settings persistence test now waits for its intercepted settings update, while the table column-width test retries until exactly one rendered header reaches its expected width.

Why this change was made

Recent flake-fix history and the current E2E suite showed these tests relied on elapsed time rather than the state they need. Fixed sleeps are vulnerable to slow CI workers and can also needlessly delay fast runs.

Impact

This is test-only maintenance. It removes timing assumptions from two E2E assertions and should make CI behavior more stable. Full Cypress execution remains to be run in a provisioned Metabase E2E environment because this sandbox does not include repository dependencies or an application stack.

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