first integration tests (#64)

resolves #60

Co-authored-by: johba <johba@harb.eth>
Reviewed-on: https://codeberg.org/johba/harb/pulls/64
This commit is contained in:
johba 2025-10-05 19:40:14 +02:00
parent d6f0bf4f02
commit 1645865c5a
14 changed files with 913 additions and 2226 deletions

17
playwright.config.ts Normal file
View file

@ -0,0 +1,17 @@
import { defineConfig } from '@playwright/test';
export default defineConfig({
testDir: './tests/e2e',
testMatch: '**/*.spec.ts',
fullyParallel: false,
timeout: 5 * 60 * 1000,
expect: {
timeout: 30_000,
},
retries: process.env.CI ? 1 : 0,
use: {
headless: true,
viewport: { width: 1280, height: 720 },
actionTimeout: 0,
},
});