fix: update e2e tests for localhost and current game architecture
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 1m20s

- playwright.config.ts: change baseURL from dev site to localhost:3000
- combat-happy-path.spec.ts: fix climb button location (LeftPanel, not spire tab), fix descent via store, handle game-over from day overflow, reduce tick counts to avoid day 30 limit
- fabricator-happy-path.spec.ts: set currentAction to meditate before crafting (required by startFabricatorCrafting)
- playtest.spec.ts: rewrite from scratch — use localhost, window.__TEST__ bridge (not window.__debug), current tab names (no grimoire/element tabs), split into 3 files under 400-line limit
  - playtest-basic-ui.spec.ts: sections 1-3 (basic UI, stats, spire)
  - playtest-tabs.spec.ts: sections 4-11 (all tab navigation tests)
  - playtest-debug.spec.ts: sections 12-14 (debug tab, bridge, stress test)
This commit is contained in:
2026-06-11 16:09:44 +02:00
parent ae8d669c71
commit 8b41f137d5
10 changed files with 771 additions and 674 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ export default defineConfig({
timeout: 60000,
reporter: 'html',
use: {
baseURL: 'https://manaloop.tailf367e3.ts.net/',
baseURL: 'http://localhost:3000/',
trace: 'on-first-retry',
screenshot: 'on',
video: 'retain-on-failure',