test(web): add Playwright config and E2E tests for file manager

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
dailz
2026-04-20 10:40:05 +08:00
parent 6c19fed2f3
commit a7c48dae84
3 changed files with 642 additions and 0 deletions

14
web/playwright.config.ts Normal file
View File

@@ -0,0 +1,14 @@
import { defineConfig } from '@playwright/test'
export default defineConfig({
testDir: './tests',
timeout: 30000,
retries: 0,
use: {
baseURL: 'http://localhost:5173',
headless: true,
launchOptions: {
executablePath: process.env.CHROME_PATH || '/opt/google/chrome/chrome',
},
},
})