migration to vite/playwright
This commit is contained in:
20
playwright.config.mjs
Normal file
20
playwright.config.mjs
Normal file
@@ -0,0 +1,20 @@
|
||||
import { defineConfig } from '@playwright/test'
|
||||
|
||||
export default defineConfig({
|
||||
testDir: 'tests/e2e',
|
||||
timeout: 60000,
|
||||
expect: {
|
||||
timeout: 10000
|
||||
},
|
||||
use: {
|
||||
baseURL: process.env.PLAYWRIGHT_BASE_URL || 'http://localhost:8000',
|
||||
headless: true
|
||||
},
|
||||
reporter: 'list',
|
||||
webServer: {
|
||||
command: 'npm run start:e2e',
|
||||
url: 'http://localhost:8000/index.html',
|
||||
reuseExistingServer: !process.env.CI,
|
||||
timeout: 60000
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user