-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
playwright.config.js
51 lines (49 loc) · 1.33 KB
/
playwright.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
// @ts-check
/** @type {import('@playwright/test').PlaywrightTestConfig} */
const config = {
reporter: [['list', { printSteps: false }]],
use: {
headless: false,
ignoreHTTPSErrors: true,
video: 'on-first-retry'
},
projects: [
{
name: 'edge@latest@localhost',
use: {
browserName: 'chromium',
channel: 'msedge'
},
},
{
name: 'chrome@latest@localhost',
use: {
browserName: 'chromium',
channel: 'chrome'
},
},
// -- BrowserStack Projects --
// name should be of the format browser@browser_version:os os_version@browserstack
{
name: 'chrome@latest:Windows 10@browserstack',
use: {
browserName: 'chromium',
channel: 'chrome'
},
},
{
name: 'chrome@latest-beta:OSX Big Sur@browserstack',
use: {
browserName: 'chromium',
channel: 'chrome',
},
},
{
name: 'edge@90:Windows 10@browserstack',
use: {
browserName: 'chromium'
},
},
]
}
module.exports = config