-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use @playwright/test with Chromium only
Previously Playwright tests were disabled because they weren't stable on CI. Let's see if this helps.
- Loading branch information
1 parent
9493bdd
commit 536357b
Showing
5 changed files
with
871 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import { PlaywrightTestConfig } from "@playwright/test" | ||
|
||
const ci = process.env.CI === "true" | ||
const headless = ci || process.env.HEADLESS === "true" | ||
|
||
const config: PlaywrightTestConfig = { | ||
testDir: "playwright", | ||
timeout: 60000, // Timeout per test file (default 30000) | ||
use: { | ||
headless, | ||
baseURL: "http://localhost:8080", | ||
actionTimeout: 15000, | ||
}, | ||
reporter: ci ? "github" : "line", | ||
} | ||
export default config |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.