| const { defineConfig } = require('@playwright/test'); |
|
|
| |
| |
| |
| |
| module.exports = defineConfig({ |
| testDir: './tests', |
| |
| |
| testIgnore: [ |
| '**/*.system.spec.js', |
| '**/*.framework.spec.js', |
| '**/fixtures*.spec.js' |
| ], |
|
|
| timeout: 30000, |
| fullyParallel: false, |
| workers: 1, |
| reporter: [ |
| ['list'], |
| ['html', { outputFolder: 'test-results' }] |
| ], |
| |
| use: { |
| |
| trace: 'on-first-retry', |
| screenshot: 'only-on-failure', |
| video: 'retain-on-failure', |
| }, |
|
|
| projects: [ |
| { |
| name: 'electron', |
| |
| testMatch: [ |
| 'tests/app-behavior.spec.js', |
| 'tests/plugin-*.spec.js' |
| ], |
| use: { |
| |
| } |
| } |
| ] |
| }); |