Removes e2e retries and videos (#1537)
parent
2289c68979
commit
038ea3365a
|
@ -4,7 +4,6 @@ const config: PlaywrightTestConfig = {
|
||||||
forbidOnly: !!process.env.CI,
|
forbidOnly: !!process.env.CI,
|
||||||
testDir: "playwright",
|
testDir: "playwright",
|
||||||
timeout: 60_000,
|
timeout: 60_000,
|
||||||
retries: process.env.CI ? 3 : 0,
|
|
||||||
reporter: "list",
|
reporter: "list",
|
||||||
globalSetup: require.resolve("./playwright/lib/globalSetup"),
|
globalSetup: require.resolve("./playwright/lib/globalSetup"),
|
||||||
outputDir: "playwright/results",
|
outputDir: "playwright/results",
|
||||||
|
@ -19,12 +18,6 @@ const config: PlaywrightTestConfig = {
|
||||||
locale: "en-US",
|
locale: "en-US",
|
||||||
trace: "retain-on-failure",
|
trace: "retain-on-failure",
|
||||||
headless: !!process.env.CI || !!process.env.PLAYWRIGHT_HEADLESS,
|
headless: !!process.env.CI || !!process.env.PLAYWRIGHT_HEADLESS,
|
||||||
video: "on-first-retry",
|
|
||||||
contextOptions: {
|
|
||||||
recordVideo: {
|
|
||||||
dir: "playwright/videos",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
projects: [
|
projects: [
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue