pediatric-ai-scribe-v3/e2e/tests
Daniel 5c1d1619c7 fix(nav): move image lightbox to index.html so NRP + seizure pathways
open from the Bedside tab

The #img-lightbox overlay markup was sitting at the bottom of
calculators.html. Before the reorg it was fine — the calculators tab
was always the only home for bedside, so by the time a user clicked
the seizure or NRP pathway button the lightbox HTML was guaranteed to
be in the DOM. After promoting Bedside to its own tab, a user can
open Bedside -> Seizures without having visited Calculators first;
the lightbox JS's getElementById('img-lightbox') then returns null
and the click silently no-ops.

Moved the overlay markup to the bottom of index.html so it exists
from page load regardless of which tab has been lazy-loaded. The e2e
harness gets a duplicate copy so the existing lightbox smoke test
keeps working.

Added a regression test for NRP (bedside-smoke.spec.js:141) to catch
any future breakage — the prior seizure-only test didn't exercise the
second pathway button and so the neonatal/NRP path had never been
clicked in CI.

Suite: 252 passed / 0 failed.
2026-04-23 18:58:38 +02:00
..
ai-endpoints-contract.spec.js test(e2e): +120 tests across 8 new specs; baseline fixes 2026-04-23 18:58:38 +02:00
auth-gated-smoke.spec.js feat(pe-guide): unified single-play + remove badges; fix(e2e): shared fixture + raised login limit 2026-04-22 22:57:11 +02:00
bedside-smoke.spec.js fix(nav): move image lightbox to index.html so NRP + seizure pathways 2026-04-23 18:58:38 +02:00
chart-review-workflow.spec.js test(e2e): +120 tests across 8 new specs; baseline fixes 2026-04-23 18:58:38 +02:00
encounter-save-load.spec.js test(e2e): +120 tests across 8 new specs; baseline fixes 2026-04-23 18:58:38 +02:00
encounter-workflow.spec.js test(e2e): +120 tests across 8 new specs; baseline fixes 2026-04-23 18:58:38 +02:00
extensions-crud.spec.js test(e2e): +120 tests across 8 new specs; baseline fixes 2026-04-23 18:58:38 +02:00
learning-tab.spec.js test(e2e): +120 tests across 8 new specs; baseline fixes 2026-04-23 18:58:38 +02:00
pe-guide-smoke.spec.js test(e2e): +120 tests across 8 new specs; baseline fixes 2026-04-23 18:58:38 +02:00
settings-faq-dictation.spec.js test(e2e): +120 tests across 8 new specs; baseline fixes 2026-04-23 18:58:38 +02:00
soap-hospital-workflow.spec.js feat(ui-state): persist sub-pill selections across reload + sign-out 2026-04-23 18:58:38 +02:00
top-calculators.spec.js test(e2e): add 27 Playwright smoke tests for top-row calculator tabs 2026-04-20 23:19:50 +02:00
ui-state-persistence.spec.js feat(ui-state): persist sub-pill selections across reload + sign-out 2026-04-23 18:58:38 +02:00
vaxschedule-content.spec.js test(e2e): +120 tests across 8 new specs; baseline fixes 2026-04-23 18:58:38 +02:00
wellvisit-workflow.spec.js test(e2e): +120 tests across 8 new specs; baseline fixes 2026-04-23 18:58:38 +02:00