-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplaywright.config.ts
46 lines (42 loc) · 1004 Bytes
/
playwright.config.ts
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
import type {PlaywrightTestConfig} from '@playwright/test';
const config: PlaywrightTestConfig = {
//testMatch: ["test/"],
use: {
// baseURL: "https://internetbanking.suncorpbank.com.au/",
baseURL: "https://www.saucedemo.com/",
headless: true,
screenshot: "on",
video: "on",
launchOptions: {
// slowMo: 1000
},
},
timeout: 60 * 1000 * 5,
retries: 0,
reporter: [["dot"], ["json", {
outputFile: "jsonReports/jsonReport.json"
}], ["html", {
open: "never"
}]],
projects: [
{
name: 'chromium',
use: {
browserName: 'chromium',
},
},
{
name: 'firefox',
use: {
browserName: 'firefox',
},
},
{
name: 'webkit',
use: {
browserName: 'webkit',
},
},
]
};
export default config;