Commit cccf323
committed
test: cover the env-backed welcome actions with a seeded Python env
When a Python env is configured the welcome local-server actions become
enabled; pin that. The test seeds `app-data.json` with a `pythonPath` (the real
config seam the app reads) and asserts the "New notebook" action loses its
`disabled` class. Gated on JLAB_TEST_PYTHON_PATH (CI provisions a venv with
jupyterlab and sets it; skipped locally when absent) so the suite stays green
everywhere. Driving the JupyterLab content itself is left to a separate
plain-Playwright suite against the server URL (Phase 3).
Note: AI-assisted (Claude Code). Manually verified: passes locally with
JLAB_TEST_PYTHON_PATH set to a jupyterlab env; skips cleanly when unset.1 parent 673a77d commit cccf323
1 file changed
Lines changed: 30 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 | + | |
0 commit comments