Unverified 提交 b86738f3 authored 作者: Will Chen's avatar Will Chen 提交者: GitHub

Allow 2 retries playwright (#384)

上级 d7f7f15a
...@@ -3,7 +3,7 @@ import { PlaywrightTestConfig } from "@playwright/test"; ...@@ -3,7 +3,7 @@ import { PlaywrightTestConfig } from "@playwright/test";
const config: PlaywrightTestConfig = { const config: PlaywrightTestConfig = {
testDir: "./e2e-tests", testDir: "./e2e-tests",
workers: 1, workers: 1,
retries: process.env.CI ? 1 : 0, retries: process.env.CI ? 2 : 0,
// maxFailures: 1, // maxFailures: 1,
timeout: process.env.CI ? 180_000 : 30_000, timeout: process.env.CI ? 180_000 : 30_000,
// Use a custom snapshot path template because Playwright's default // Use a custom snapshot path template because Playwright's default
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论