Skip to content

E2E smoke specs for the new UI features#42

Merged
astrapi69 merged 1 commit into
mainfrom
test/e2e-new-features
Jun 29, 2026
Merged

E2E smoke specs for the new UI features#42
astrapi69 merged 1 commit into
mainfrom
test/e2e-new-features

Conversation

@astrapi69

Copy link
Copy Markdown
Owner

Closes #41

Closes the one real gap from the post-session audit: the features added this cycle had strong Vitest coverage but no Playwright smoke specs (AL convention: every UI feature gets one).

Adds e2e/smoke/ specs (data-testid selectors, matching the existing smoke pattern):

  • command-palette — Ctrl+K opens, filters by keyword, navigates to /settings; Esc closes without navigating.
  • settings-about — version + repo link render; QR share modal opens/closes; Developer Mode toggle flips and persists across reload.
  • settings-appearance — choosing a palette + dark mode flips data-app-theme / data-theme.
  • settings-data-and-feature — backup + cache controls render; cache-clear asks to confirm (cancelled, no reload); the disabled feature-section demo shows its reason on the General tab.

PWA update/install prompts (event-driven, not user-reachable in a smoke run) + ErrorBoundary stay unit-tested only.

Verified: every data-testid the specs reference exists in the source (incl. the dynamic about-link-repo, command-nav-*, feature-sync-demo-reason). Per the e2e convention these run against the auto-started stack: cd e2e && npx playwright test --project=smoke — they need a running backend+frontend, so they aren't executed in this PR's authoring environment.

Playwright smoke specs (e2e/smoke, data-testid selectors) for the features
added this cycle:
- command-palette: Ctrl+K opens, filters by keyword, navigates; Esc closes
- settings-about: version + links + QR share modal + Developer Mode persist
- settings-appearance: palette + dark mode flip data-app-theme/data-theme
- settings-data-and-feature: backup/cache controls + cache-clear confirm;
  the disabled feature-section demo on the General tab

PWA update/install prompts (event-driven) + ErrorBoundary stay unit-tested
only. All referenced testids verified against the source. Run via the e2e
webServer: cd e2e && npx playwright test --project=smoke.

Closes #41
@astrapi69 astrapi69 merged commit 35636a6 into main Jun 29, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

E2E smoke specs for the new UI features (command palette, settings tabs, QR)

2 participants