This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
// SPDX-License-Identifier: LicenseRef-ConusAI-Template-1.0
|
||||
// kit:guides -- the guides module's live suite; `kit template:prune --without guides` removes this folder.
|
||||
//
|
||||
// The code survey end to end against a running platform (survey.e2e.ts): this app deployed on ConusAI
|
||||
// Cloud with the guides module, and the console. Not part of `pnpm e2e` (the fake platform has no
|
||||
// Guides service); it skips, saying what is missing, when the platform's variables are not set.
|
||||
// pnpm exec playwright test -c e2e/guides/playwright.config.ts
|
||||
|
||||
import { defineConfig } from "@playwright/test"
|
||||
|
||||
export default defineConfig({
|
||||
testDir: ".",
|
||||
testMatch: "*.e2e.ts",
|
||||
workers: 1,
|
||||
fullyParallel: false,
|
||||
timeout: 180_000,
|
||||
expect: { timeout: 30_000 },
|
||||
reporter: [["list"]],
|
||||
use: {
|
||||
...(process.env.E2E_GUIDES_APP_URL ? { baseURL: process.env.E2E_GUIDES_APP_URL } : {}),
|
||||
browserName: "chromium",
|
||||
headless: true,
|
||||
trace: "retain-on-failure",
|
||||
},
|
||||
})
|
||||
Reference in New Issue
Block a user