AI made playwright tests + add them to the github.
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
import { defineConfig } from "@playwright/test";
|
||||
|
||||
const port = 5193;
|
||||
const baseURL = `http://127.0.0.1:${port}`;
|
||||
|
||||
export default defineConfig({
|
||||
testDir: "./test/e2e",
|
||||
globalSetup: "./test/e2e/global-setup.ts",
|
||||
fullyParallel: false,
|
||||
workers: 1,
|
||||
timeout: 30_000,
|
||||
expect: { timeout: 7_500 },
|
||||
forbidOnly: Boolean(process.env.CI),
|
||||
retries: process.env.CI ? 1 : 0,
|
||||
reporter: process.env.CI ? "github" : "list",
|
||||
use: {
|
||||
baseURL,
|
||||
browserName: "chromium",
|
||||
ignoreHTTPSErrors: true,
|
||||
trace: "retain-on-failure",
|
||||
screenshot: "only-on-failure",
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user