MVp
This commit is contained in:
19
playwright.config.ts
Normal file
19
playwright.config.ts
Normal file
@@ -0,0 +1,19 @@
|
||||
import { defineConfig, devices } from '@playwright/test'
|
||||
|
||||
export default defineConfig({
|
||||
timeout: 30000,
|
||||
testDir: 'tests/e2e',
|
||||
webServer: {
|
||||
command: 'npm run dev',
|
||||
port: 3000,
|
||||
reuseExistingServer: !process.env.CI
|
||||
},
|
||||
use: {
|
||||
baseURL: 'http://localhost:3000',
|
||||
trace: 'on-first-retry',
|
||||
viewport: { width: 1280, height: 800 }
|
||||
},
|
||||
projects: [
|
||||
{ name: 'chromium', use: { ...devices['Desktop Chrome'] } }
|
||||
]
|
||||
})
|
||||
Reference in New Issue
Block a user