mirror of
https://github.com/bookorbit/bookorbit.git
synced 2026-11-03 08:21:39 -06:00
feat(scanner): enhance upload durability and add E2E test suites
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
const TEST_RESULTS_DIR = "../test-results/server";
|
||||
|
||||
export const E2E_SUITES = Object.freeze({
|
||||
"app-smoke": {
|
||||
id: "app-smoke",
|
||||
name: "App Smoke",
|
||||
"guard-mechanics": {
|
||||
id: "guard-mechanics",
|
||||
name: "Guard Mechanics",
|
||||
timeout: 30,
|
||||
description: "App smoke suite",
|
||||
vitestTarget: "test/app-smoke.e2e-spec.ts",
|
||||
junitOutput: `${TEST_RESULTS_DIR}/app-smoke-e2e-junit.xml`,
|
||||
description: "Guard mechanics suite - verifies @Public/@RequirePermission wiring without a real DB",
|
||||
vitestTarget: "test/guard-mechanics.e2e-spec.ts",
|
||||
junitOutput: `${TEST_RESULTS_DIR}/guard-mechanics-e2e-junit.xml`,
|
||||
prepareDedicatedDatabase: false,
|
||||
useDedicatedDatabase: false,
|
||||
},
|
||||
@@ -101,6 +101,46 @@ export const E2E_SUITES = Object.freeze({
|
||||
prepareDedicatedDatabase: true,
|
||||
useDedicatedDatabase: true,
|
||||
},
|
||||
"book-api-contract": {
|
||||
id: "book-api-contract",
|
||||
name: "Book API Contract",
|
||||
timeout: 60,
|
||||
description: "Book API contract suite",
|
||||
vitestTarget: "test/book-api-contract.e2e-spec.ts",
|
||||
junitOutput: `${TEST_RESULTS_DIR}/book-api-contract-e2e-junit.xml`,
|
||||
prepareDedicatedDatabase: true,
|
||||
useDedicatedDatabase: true,
|
||||
},
|
||||
"app-settings-oidc-contract": {
|
||||
id: "app-settings-oidc-contract",
|
||||
name: "App Settings OIDC Contract",
|
||||
timeout: 60,
|
||||
description: "App settings OIDC contract suite",
|
||||
vitestTarget: "test/app-settings-oidc-contract.e2e-spec.ts",
|
||||
junitOutput: `${TEST_RESULTS_DIR}/app-settings-oidc-contract-e2e-junit.xml`,
|
||||
prepareDedicatedDatabase: true,
|
||||
useDedicatedDatabase: true,
|
||||
},
|
||||
"library-admin-workflows": {
|
||||
id: "library-admin-workflows",
|
||||
name: "Library Admin Workflows",
|
||||
timeout: 60,
|
||||
description: "Library admin workflows suite",
|
||||
vitestTarget: "test/library-admin-workflows.e2e-spec.ts",
|
||||
junitOutput: `${TEST_RESULTS_DIR}/library-admin-workflows-e2e-junit.xml`,
|
||||
prepareDedicatedDatabase: true,
|
||||
useDedicatedDatabase: true,
|
||||
},
|
||||
"reader-format-delivery": {
|
||||
id: "reader-format-delivery",
|
||||
name: "Reader Format Delivery",
|
||||
timeout: 60,
|
||||
description: "Reader format delivery suite",
|
||||
vitestTarget: "test/reader-format-delivery.e2e-spec.ts",
|
||||
junitOutput: `${TEST_RESULTS_DIR}/reader-format-delivery-e2e-junit.xml`,
|
||||
prepareDedicatedDatabase: true,
|
||||
useDedicatedDatabase: true,
|
||||
},
|
||||
"opds-auth-catalog": {
|
||||
id: "opds-auth-catalog",
|
||||
name: "OPDS Auth Catalog",
|
||||
|
||||
Reference in New Issue
Block a user