Exercise browser session persistence and PKCE through the production proxy
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
import { defineConfig } from "@playwright/test";
|
||||
|
||||
// Separate dev copy + synthetic Core. Never runs a production build or uses
|
||||
// the developer's .env, real Core, accounts, Chrome profile or preview port.
|
||||
export default defineConfig({
|
||||
testDir: "./tests/session",
|
||||
outputDir: "test-results/session",
|
||||
workers: 1,
|
||||
retries: 0,
|
||||
timeout: 60000,
|
||||
expect: { timeout: 15000 },
|
||||
reporter: "list",
|
||||
use: {
|
||||
baseURL: "http://localhost:17323",
|
||||
channel: "chrome",
|
||||
headless: true,
|
||||
launchOptions: { args: ["--no-proxy-server"] },
|
||||
trace: "retain-on-failure",
|
||||
screenshot: "only-on-failure",
|
||||
},
|
||||
webServer: {
|
||||
command: "node tests/fixtures/session-app.mjs",
|
||||
url: "http://localhost:17323/login",
|
||||
reuseExistingServer: false,
|
||||
timeout: 120000,
|
||||
gracefulShutdown: { signal: "SIGTERM", timeout: 15000 },
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user