Add repo Playwright smoke setup
This commit is contained in:
13
playwright.config.js
Normal file
13
playwright.config.js
Normal file
@@ -0,0 +1,13 @@
|
||||
const { defineConfig } = require("@playwright/test");
|
||||
|
||||
module.exports = defineConfig({
|
||||
testDir: "./tests/e2e",
|
||||
timeout: 30_000,
|
||||
fullyParallel: false,
|
||||
reporter: "line",
|
||||
use: {
|
||||
baseURL: process.env.PLAYWRIGHT_BASE_URL || "http://127.0.0.1:5000",
|
||||
headless: true,
|
||||
trace: "retain-on-failure"
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user