Merged PR 2558: updated link on awaiting submission view allin welsh
updated link on awaiting submission view allin welsh Related work items: #24389
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
import { defineConfig } from "@playwright/test";
|
||||
import dotenv from "dotenv";
|
||||
|
||||
const isCI = !!process.env.CI;
|
||||
|
||||
// Load .env silently in CI to avoid logs
|
||||
dotenv.config({ debug: !isCI });
|
||||
|
||||
export default defineConfig({
|
||||
testDir: "./pwe2e/tests",
|
||||
timeout: 180000,
|
||||
retries: isCI ? 1 : 0,
|
||||
projects: [
|
||||
{
|
||||
name: "chromium",
|
||||
timeout: 180000,
|
||||
use: {
|
||||
browserName: "chromium",
|
||||
headless: isCI,
|
||||
baseURL: process.env.BASE_URL || "http://localhost:3000",
|
||||
screenshot: "only-on-failure",
|
||||
video: "retain-on-failure",
|
||||
trace: "retain-on-failure"
|
||||
}
|
||||
}
|
||||
],
|
||||
reporter: [
|
||||
["html", { open: isCI ? "never" : "on-failure" }],
|
||||
["junit", { outputFile: "test-results/results.xml" }]
|
||||
]
|
||||
});
|
||||
Reference in New Issue
Block a user