Refactor code structure for improved readability and maintainability

This commit is contained in:
2026-02-07 12:25:59 +01:00
parent 1db0e94b20
commit 862a361a3d
16 changed files with 14625 additions and 3 deletions

22
playwright.config.ts Normal file
View File

@@ -0,0 +1,22 @@
import { defineConfig, devices } from '@playwright/test';
export default defineConfig({
testDir: 'tests',
timeout: 30_000,
expect: {
timeout: 5000,
},
fullyParallel: true,
reporter: 'list',
use: {
headless: true,
viewport: { width: 1280, height: 720 },
actionTimeout: 0,
ignoreHTTPSErrors: true,
},
projects: [
{ name: 'chromium', use: { ...devices['Desktop Chrome'] } },
{ name: 'firefox', use: { ...devices['Desktop Firefox'] } },
{ name: 'webkit', use: { ...devices['Desktop Safari'] } },
],
});