Commit b8046c2
authored
test(e2e): multi-worker server + robust compare wait — kills full-suite flakiness (#221)
The full e2e suite (e2e-full.yml, self-hosted with models) ran the 13 Playwright
tests against the single-worker demo app, so back-to-back heavy requests queued and
timed out. Fixes:
- e2e-full.yml starts a dedicated 4-worker uvicorn on :8011 (isolated from the live
:8000 demo), waits for readiness, runs the suite, and tears it down.
- test_compare_loads_and_loaders_clear waited for the FIRST card image then a fixed
500ms before asserting BOTH images visible; the second card lags under load. Now
polls for two non-loading cards with images (no fixed sleep).
Validated locally against a 4-worker server: 13/13 passed, twice, ~30s. Closes #212.
Signed-off-by: Austin L. <86896075+rvnminers-A-and-N@users.noreply.github.com>1 parent b2c76b5 commit b8046c2
2 files changed
Lines changed: 22 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
29 | 41 | | |
30 | | - | |
| 42 | + | |
31 | 43 | | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
75 | | - | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
76 | 79 | | |
77 | 80 | | |
78 | 81 | | |
| |||
0 commit comments