Enable Playwright e2e tests in dev container and CI pipeline
Some checks failed
ci/woodpecker/push/ci Pipeline failed
ci/woodpecker/push/deploy unknown status

This commit is contained in:
2026-02-01 13:51:20 -03:00
parent 4bcce26a74
commit 81abdf4539
5 changed files with 100 additions and 73 deletions

View File

@@ -33,3 +33,13 @@ steps:
commands:
- corepack enable && corepack prepare pnpm@10.28.2 --activate
- pnpm test
- name: test e2e
image: mcr.microsoft.com/playwright:v1.58.0-noble
commands:
- corepack enable && corepack prepare pnpm@10.28.2 --activate
- pnpm install --frozen-lockfile || pnpm install
- pnpm run build
- npx serve dist -p 4173 &
- sleep 2
- CI=1 pnpm run test:e2e