Skip to content

test(e2e): cover the untested UI routes - #2191

Merged
SamTV12345 merged 2 commits into
mainfrom
test/e2e-page-coverage
Jul 23, 2026
Merged

test(e2e): cover the untested UI routes#2191
SamTV12345 merged 2 commits into
mainfrom
test/e2e-page-coverage

Conversation

@SamTV12345

@SamTV12345 SamTV12345 commented Jul 23, 2026

Copy link
Copy Markdown
Owner

Expands e2e coverage of the UI.

pages.spec.ts — routes the existing specs didn't touch: home dashboard, waiting list, settings→rescan (runs a rescan + asserts the toast), tags (create+delete), gpodder, mopidy, discover, profile, and administration users/invites.

settings-coverage.spec.ts — exhaustive label + toggle coverage:

  • Data Retention: every label/control asserted; every switch flipped → saved → reloaded → asserted → restored.
  • Naming: every label/control asserted; all three checkboxes persistence-tested.
  • Rescan: all four option labels.
  • Per-podcast settings modal: every label on the Settings tab, every Batch-actions row, and per-podcast episode-numbering persistence.

Bug fix found while covering labels: the nfo-format and cover-filename i18n keys were missing from en.json, so both the Data Retention page and the per-podcast modal rendered the raw kebab keys as labels. Added the English strings ("NFO format", "Cover filename").

The e2e server runs without auth, which provisions a standard admin user, so the admin-only pages render real content. All tests pass locally.

…iscover, profile and admin pages

Adds a pages.spec suite exercising the routes the existing e2e specs did not touch. The e2e server runs without auth, which provisions a standard admin user, so the admin-only pages render real content.
Adds settings-coverage.spec: label + toggle-persistence coverage for the Data Retention page, the Naming page, the rescan tab and the per-podcast settings modal (settings + batch-actions tabs). While covering labels, found that the nfo-format and cover-filename i18n keys were missing, so the UI rendered raw kebab keys as labels; added the English strings.
@SamTV12345
SamTV12345 merged commit 0d5500f into main Jul 23, 2026
9 checks passed
@SamTV12345
SamTV12345 deleted the test/e2e-page-coverage branch July 23, 2026 20:19
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.

1 participant