17 lines
412 B
JavaScript
17 lines
412 B
JavaScript
// @ts-check
|
|
const { defineConfig } = require('@playwright/test');
|
|
|
|
module.exports = defineConfig({
|
|
testDir: './tests/ui',
|
|
globalSetup: './tests/global-setup.js',
|
|
timeout: 30_000,
|
|
retries: 0,
|
|
use: {
|
|
baseURL: process.env.GRAV_BASE_URL || 'http://localhost:8081',
|
|
headless: true,
|
|
screenshot: 'only-on-failure',
|
|
video: 'off',
|
|
},
|
|
reporter: [['line']],
|
|
});
|