T46 E2E: Playwright walks the built site, desktop and phone, live stories included
This commit is contained in:
1 parent
6ff43607b7
commit
f50a708951
6 files changed
+203
-1
No files matched your search
@@ -0,0 +1,15 @@
|
||||
import { defineConfig, devices } from "@playwright/test";
|
||||
|
||||
// Runs against the built site; the gallery must be built for this origin.
|
||||
export default defineConfig({
|
||||
testDir: "e2e",
|
||||
timeout: 60_000,
|
||||
fullyParallel: true,
|
||||
reporter: [["list"]],
|
||||
use: { baseURL: "http://localhost:4173", trace: "retain-on-failure" },
|
||||
webServer: { command: "pnpm preview --port 4173 --strictPort", url: "http://localhost:4173", reuseExistingServer: true },
|
||||
projects: [
|
||||
{ name: "desktop", use: { ...devices["Desktop Chrome"] } },
|
||||
{ name: "phone", use: { ...devices["Pixel 7"] } },
|
||||
],
|
||||
});
|
||||
Reference in new issue
Block a user