Add additional end to end tests

This commit is contained in:
thiloho
2024-08-31 18:27:25 +02:00
parent bb73c2350d
commit 6c287cba46
4 changed files with 233 additions and 40 deletions

View File

@@ -3,7 +3,10 @@ import { type PlaywrightTestConfig } from "@playwright/test";
const config: PlaywrightTestConfig = {
webServer: {
command: "npm run build && npm run preview",
port: 4173
url: "http://localhost:4173"
},
use: {
baseURL: "http://localhost:4173"
},
testDir: "tests",
testMatch: /(.+\.)?(test|spec)\.ts/