feat: add admin smoke tests and enhance testing documentation with new strategies and configurations

This commit is contained in:
2026-05-12 21:01:25 +00:00
parent c058ec760f
commit 53ad012657
14 changed files with 388 additions and 51 deletions
+11 -1
View File
@@ -1,5 +1,5 @@
import { defineConfig, devices } from "@playwright/test"
import { TEST_BASE_URL } from "./tests/fixtures/test-constants"
import { TEST_ADMIN_BASE_URL, TEST_BASE_URL } from "./tests/fixtures/test-constants"
/**
* Playwright configuration for tibi-svelte projects.
@@ -70,6 +70,16 @@ export default defineConfig({
},
},
/* ── Admin Smoke Tests ────────────────────────────────────────── */
{
name: "admin",
testDir: "./tests/e2e-admin",
use: {
...withPlaywrightUA(devices["Desktop Chrome"]),
baseURL: TEST_ADMIN_BASE_URL,
},
},
/* ── Mobile E2E ────────────────────────────────────────────────── */
{
name: "mobile-iphonese",