mirror of
https://github.com/MattTheTekie/MattTheTekie
synced 2024-05-24 04:27:35 +02:00
Add files via upload
This commit is contained in:
parent
287d9fcb90
commit
84790cd0ef
26
playwright.config.ts
Normal file
26
playwright.config.ts
Normal file
|
@ -0,0 +1,26 @@
|
|||
import { defineConfig, devices } from '@playwright/test'
|
||||
export default defineConfig({
|
||||
testDir: './src/tests/e2e',
|
||||
fullyParallel: true,
|
||||
forbidOnly: !!process.env.CI,
|
||||
retries: process.env.CI ? 2 : 0,
|
||||
workers: process.env.CI ? 1 : undefined,
|
||||
reporter: 'html',
|
||||
use: {
|
||||
trace: 'on-first-retry'
|
||||
},
|
||||
projects: [
|
||||
{
|
||||
name: 'chromium',
|
||||
use: { ...devices['Desktop Chrome'] }
|
||||
},
|
||||
{
|
||||
name: 'firefox',
|
||||
use: { ...devices['Desktop Firefox'] }
|
||||
},
|
||||
{
|
||||
name: 'webkit',
|
||||
use: { ...devices['Desktop Safari'] }
|
||||
}
|
||||
]
|
||||
})
|
Loading…
Reference in a new issue