-
-
Notifications
You must be signed in to change notification settings - Fork 84
Expand file tree
/
Copy pathplaywright.config.ts
More file actions
29 lines (28 loc) · 687 Bytes
/
Copy pathplaywright.config.ts
File metadata and controls
29 lines (28 loc) · 687 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
import { defineConfig, devices } from '@playwright/test';
export default defineConfig({
testDir: './e2e',
timeout: 30_000,
retries: 1,
use: {
headless: true,
screenshot: 'only-on-failure',
},
projects: [
{
name: 'angular',
use: { ...devices['Desktop Chrome'], baseURL: 'http://localhost:4200' },
},
{
name: 'react',
use: { ...devices['Desktop Chrome'], baseURL: 'http://localhost:3000' },
},
{
name: 'svelte',
use: { ...devices['Desktop Chrome'], baseURL: 'http://localhost:5001' },
},
{
name: 'vue',
use: { ...devices['Desktop Chrome'], baseURL: 'http://localhost:8080' },
},
],
});