feat: Add test infrastructure with Jest and Playwright for Chromium

This commit is contained in:
User
2026-03-21 11:12:08 +00:00
parent b4c030e53e
commit 573f12b3cb
7 changed files with 367 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
const { defineConfig, devices } = require('@playwright/test');
module.exports = defineConfig({
testDir: './tests',
timeout: 30000,
expect: {
timeout: 5000,
},
fullyParallel: true,
workers: 1,
retries: 1,
reporter: 'list',
use: {
baseURL: 'http://localhost:3000',
trace: 'on-first-retry',
video: 'on-first-retry',
},
projects: [
{
name: 'chromium',
use: { ...devices['Desktop Chromium'] },
},
],
});