fix(books): hide completed audiobooks from continue listening

Keep the listening scroller consistent with terminal per-user read statuses and cover the completion transition with focused regression tests.
This commit is contained in:
neon
2026-09-07 05:35:16 +00:00
parent 5303a50604
commit f0bf903849
4 changed files with 156 additions and 4 deletions
+21
View File
@@ -285,6 +285,27 @@ export const E2E_SUITES = Object.freeze({
...SHARED_DB_AND_HELPER_PATHS,
],
},
"dashboard-continue-listening": {
id: "dashboard-continue-listening",
name: "Dashboard Continue Listening",
timeout: 60,
lane: "full",
description: "Dashboard continue-listening completion regression suite",
vitestTarget: "test/dashboard-continue-listening.e2e-spec.ts",
junitOutput: `${TEST_RESULTS_DIR}/dashboard-continue-listening-e2e-junit.xml`,
prepareDedicatedDatabase: true,
useDedicatedDatabase: true,
changedPaths: [
"server/src/modules/dashboard/**",
"server/src/modules/book/**",
"server/src/modules/user-book-status/**",
"server/test/dashboard-continue-listening.e2e-spec.ts",
"server/test/e2e/authorization-matrix/**",
".github/workflows/e2e-runner.yml",
"packages/types/src/dashboard.ts",
...SHARED_DB_AND_HELPER_PATHS,
],
},
"book-requests": {
id: "book-requests",
name: "Book Requests",