Skip to content

test(website): make lineage-filter selection resilient to menu re-renders - #1358

Open
fhennig wants to merge 2 commits into
mainfrom
investigate-flaky-tests
Open

test(website): make lineage-filter selection resilient to menu re-renders#1358
fhennig wants to merge 2 commits into
mainfrom
investigate-flaky-tests

Conversation

@fhennig

@fhennig fhennig commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

resolves #1255

Summary

The variant-selection e2e tests (compareSideBySide, singleVariant) were flaky on Firefox/WebKit. The worst failure mode: fillLineageField typed into the lineage autocomplete then clicked the matching dropdown option, but the Downshift menu can be closed again by a concurrent re-render (each filter field fetches its options from LAPIS independently). The option then never appears and the click waits out the full 60s test timeout -- a larger timeout cannot help a closed menu. Re-open the menu and retry the option click together so a transient close cannot wedge the test.

Also keep two mitigations for the slower "still loading" failure mode: bump @playwright/test 1.60->1.61 and set a global 15s expect timeout.

…ders (#1255)

The variant-selection e2e tests (compareSideBySide, singleVariant) were flaky on
Firefox/WebKit. The worst failure mode: fillLineageField typed into the lineage
autocomplete then clicked the matching dropdown option, but the Downshift menu
can be closed again by a concurrent re-render (each filter field fetches its
options from LAPIS independently). The option then never appears and the click
waits out the full 60s test timeout -- a larger timeout cannot help a closed
menu. Re-open the menu and retry the option click together so a transient close
cannot wedge the test.

Also keep two mitigations for the slower "still loading" failure mode: bump
@playwright/test 1.60->1.61 and set a global 15s expect timeout.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@vercel

vercel Bot commented Jul 28, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
dashboards Ready Ready Preview, Comment Jul 28, 2026 11:57am

Request Review

@fhennig fhennig self-assigned this Jul 28, 2026
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.

Flaky tests

1 participant