Spaces:
Sleeping
Sleeping
File size: 610 Bytes
2398be6 |
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 |
import { defineConfig, devices } from '@playwright/test';
export default defineConfig({
testDir: 'tests/e2e',
timeout: 30_000,
expect: { timeout: 5000 },
fullyParallel: false,
reporter: [['list'], ['html', { open: 'never' }]],
use: {
baseURL: 'http://localhost:3000',
headless: true,
ignoreHTTPSErrors: true,
viewport: { width: 375, height: 812 },
actionTimeout: 5000,
navigationTimeout: 30000,
},
projects: [
{
name: 'mobile',
use: { ...devices['Pixel 5'] },
},
{
name: 'chromium',
use: { browserName: 'chromium' },
},
],
});
|