-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b2d9692
commit 0440f2c
Showing
4 changed files
with
119 additions
and
3 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 |
---|---|---|
@@ -1,18 +1,38 @@ | ||
import type { PlaywrightTestConfig } from '@playwright/test' | ||
import { PlaywrightTestConfig, devices} from '@playwright/test' | ||
import { devices as replayDevices } from "@replayio/playwright"; | ||
|
||
// See https://playwright.dev/docs/test-configuration#global-configuration | ||
const config: PlaywrightTestConfig = { | ||
timeout: 90_000, | ||
expect: { | ||
timeout: 10 * 1000, | ||
}, | ||
|
||
// Leaving this here to make debugging easier, by uncommenting | ||
// use: { | ||
// launchOptions: { | ||
// slowMo: 500, | ||
// headless: false, | ||
// }, | ||
// }, | ||
projects: [ | ||
{ | ||
name: "replay-firefox", | ||
use: { ...replayDevices["Replay Firefox"] as any }, | ||
}, | ||
{ | ||
name: "replay-chromium", | ||
use: { ...replayDevices["Replay Chromium"] as any }, | ||
}, | ||
{ | ||
name: "firefox", | ||
use: { ...devices["Desktop Firefox"] }, | ||
}, | ||
{ | ||
name: "chromium", | ||
use: { ...devices["Desktop Chromium"] }, | ||
}, | ||
], | ||
} | ||
|
||
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