Fix pick list item actions and add Playwright tests

This commit is contained in:
beatz174-bit
2025-11-23 13:20:18 +10:00
parent edd9712ea1
commit 1a67151e60
6 changed files with 131 additions and 2 deletions
+24
View File
@@ -0,0 +1,24 @@
import { defineConfig, devices } from '@playwright/test';
export default defineConfig({
testDir: './e2e',
fullyParallel: true,
retries: process.env.CI ? 2 : 0,
use: {
baseURL: 'http://127.0.0.1:4173',
headless: true,
trace: 'on-first-retry',
},
projects: [
{
name: 'chromium',
use: { ...devices['Desktop Chrome'] },
},
],
webServer: {
command: 'npm run dev -- --host --port 4173',
url: 'http://127.0.0.1:4173',
timeout: 120 * 1000,
reuseExistingServer: !process.env.CI,
},
});