End to end tests
This commit is contained in:
parent
c71e4b4cd0
commit
fed82d1ae8
26 changed files with 1016 additions and 37 deletions
21
faceai/playwright.config.js
Normal file
21
faceai/playwright.config.js
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
const { defineConfig } = require('@playwright/test');
|
||||
|
||||
module.exports = defineConfig({
|
||||
testDir: './tests/e2e',
|
||||
timeout: 10 * 60 * 1000,
|
||||
expect: {
|
||||
timeout: 30 * 1000
|
||||
},
|
||||
fullyParallel: false,
|
||||
workers: 1,
|
||||
reporter: [['list'], ['html', { open: 'never' }]],
|
||||
globalSetup: require.resolve('./tests/e2e/global-setup.js'),
|
||||
globalTeardown: require.resolve('./tests/e2e/global-teardown.js'),
|
||||
use: {
|
||||
browserName: 'chromium',
|
||||
headless: true,
|
||||
trace: 'retain-on-failure',
|
||||
screenshot: 'only-on-failure',
|
||||
video: 'retain-on-failure'
|
||||
}
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue