Commit ea25404
test(website): make lineage-filter selection resilient to menu re-renders (#1358)
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.
Co-authored-by: Felix Hennig <felix-agent@felixhennig.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent da9e6b6 commit ea25404
2 files changed
Lines changed: 17 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
21 | 24 | | |
22 | 25 | | |
23 | 26 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | | - | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
35 | 47 | | |
36 | 48 | | |
37 | 49 | | |
| |||
0 commit comments