✨ feat: add admin smoke tests and enhance testing documentation with new strategies and configurations
This commit is contained in:
+11
-1
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user