Automatischer Commit: Aktualisierung von package.json und package-lock.json sowie neue Test-Dateien
This commit is contained in:
parent
af556cd7e9
commit
184f281836
5 changed files with 106 additions and 1 deletions
25
backend/playwright.config.js
Normal file
25
backend/playwright.config.js
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
const { devices } = require('@playwright/test');
|
||||
|
||||
/** @type {import('@playwright/test').PlaywrightTestConfig} */
|
||||
const config = {
|
||||
testDir: './scripts',
|
||||
timeout: 30000,
|
||||
fullyParallel: true,
|
||||
forbidOnly: !!process.env.CI,
|
||||
retries: process.env.CI ? 2 : 0,
|
||||
workers: process.env.CI ? 1 : undefined,
|
||||
reporter: 'html',
|
||||
use: {
|
||||
actionTimeout: 0,
|
||||
baseURL: 'http://localhost:3000',
|
||||
trace: 'on-first-retry',
|
||||
},
|
||||
projects: [
|
||||
{
|
||||
name: 'chromium',
|
||||
use: { ...devices['Desktop Chrome'] },
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
module.exports = config;
|
||||
Loading…
Add table
Add a link
Reference in a new issue