Add automated UAT smoke tests
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
import { defineConfig } from "@playwright/test";
|
||||
|
||||
const resultsDir = process.env.SMOKE_OUTPUT_DIR || "/work/test-results";
|
||||
|
||||
export default defineConfig({
|
||||
testDir: ".",
|
||||
testMatch: "uat-smoke.spec.mjs",
|
||||
fullyParallel: false,
|
||||
workers: 1,
|
||||
retries: 0,
|
||||
timeout: 120_000,
|
||||
expect: { timeout: 15_000 },
|
||||
outputDir: `${resultsDir}/raw`,
|
||||
reporter: [
|
||||
["line"],
|
||||
["junit", { outputFile: `${resultsDir}/junit.xml` }],
|
||||
["html", { outputFolder: `${resultsDir}/html`, open: "never" }]
|
||||
],
|
||||
use: {
|
||||
viewport: { width: 1440, height: 900 },
|
||||
screenshot: "only-on-failure",
|
||||
trace: "retain-on-failure"
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user