Commit 24b7bde
committed
ci(e2e): wire Python E2E suite into CI (nightly + push-to-main on dev-pin)
Companion to the e2e-full.yml workflow (.cjs Node tests). Python E2E
was never CI-gated before 2026-05-24 — the previous suite was
non-functional (see 25ff280..efd1e11 for the rewrite that made it
runnable). With this workflow, regressions surface within 24h of merge.
Schedule: nightly at 04:00 UTC (1h after e2e-full to avoid container
restart collision) + push-to-main on requirements-dev.txt /
tests/e2e/*.py / this workflow file. The push trigger catches
playwright-pin regressions at merge time instead of waiting for the
next nightly run.
Setup mirrors e2e-full.yml:
- Docker compose up wl_manager_test
- Fix bind-mount permissions (Splunk needs ownership of
/opt/splunk/etc/apps/wl_manager subdirs)
- Run setup_test_env.sh to provision test users + roles
Run command:
pytest tests/e2e/ --ignore=tests/e2e/test_wl_save.py
The --ignore flag is intentional: test_wl_save.py has 2 known
pre-existing state-leak flakes (test_bulk_remove and
test_add_row_and_save) that would block CI green. These are tracked
in ~/.claude/state/qa-findings.jsonl as the "add_row_save_persistence-
anomaly" finding and will be re-included in a follow-up commit after
the underlying save-persistence issue is investigated. The flakes
are NOT playwright 1.60 regressions — they reproduce on 1.40 too.
Baseline expected output on green nightly:
15 passed, 11 skipped, 26 warnings
All 11 skips have explicit @pytest.mark.skip(reason=...) text.
Artifacts uploaded on failure: pytest cache + any screenshots written
by tests under tests/e2e/ or tests/. 7-day retention.1 parent 6fa38c3 commit 24b7bde
1 file changed
Lines changed: 114 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
0 commit comments