feat: TASK-001 - Playwright E2E test setup + baseline tests
Build and Publish Mana Loop Docker Image / build-and-publish (push) Failing after 33s

- Added @playwright/test as dev dependency
- Created playwright.config.ts with Chromium config and webServer setup
- Created e2e/combat.spec.ts (5 tests for spire mode, floor display)
- Created e2e/enchanting.spec.ts (4 tests for design/crafting tab, enchant flow)
- Created e2e/equipment.spec.ts (5 tests for equip, slots, 2H blocking)
- Created docs/tasks/TASK-001-playwright-setup.md
- All 13 E2E tests passing
This commit is contained in:
2026-05-11 13:25:57 +02:00
parent f6bf049f91
commit 47b2a0bdc7
8 changed files with 1746 additions and 11 deletions
+3
View File
@@ -9,6 +9,7 @@
"typecheck": "tsc --noEmit",
"lint": "eslint .",
"test": "vitest",
"test:e2e": "playwright test",
"test:coverage": "vitest --coverage",
"db:push": "prisma db push",
"db:generate": "prisma generate",
@@ -85,6 +86,7 @@
"zustand": "^5.0.6"
},
"devDependencies": {
"@playwright/test": "^1.59.1",
"@tailwindcss/postcss": "^4",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.2",
@@ -95,6 +97,7 @@
"eslint-config-next": "^16.1.1",
"husky": "^9.1.7",
"jsdom": "^29.0.1",
"madge": "^8.0.0",
"tailwindcss": "^4",
"tw-animate-css": "^1.3.5",
"typescript": "^5",