-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathplaywright.config.ts
More file actions
43 lines (42 loc) · 923 Bytes
/
playwright.config.ts
File metadata and controls
43 lines (42 loc) · 923 Bytes
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
import { defineConfig } from "@playwright/test";
export default defineConfig({
testDir: "./e2e",
workers: 2,
fullyParallel: false,
timeout: 30_000,
expect: {
timeout: 10_000,
},
use: {
baseURL: "https://dev.squarelet.com",
ignoreHTTPSErrors: true,
screenshot: "only-on-failure",
trace: "retain-on-failure",
},
projects: [
{
name: "chromium",
use: {
browserName: "chromium",
viewport: { width: 1280, height: 720 },
},
},
{
name: "firefox",
use: {
browserName: "firefox",
viewport: { width: 1280, height: 720 },
},
},
{
name: "webkit",
use: {
browserName: "webkit",
viewport: { width: 1280, height: 720 },
},
},
],
globalSetup: "./e2e/global-setup.ts",
globalTeardown: "./e2e/global-teardown.ts",
reporter: [["list"], ["html", { open: "never" }]],
});