fix: update e2e tests for localhost and current game architecture
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 1m20s
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:
@@ -1,5 +1,5 @@
|
||||
# Circular Dependencies
|
||||
Generated: 2026-06-11T10:27:32.937Z
|
||||
Generated: 2026-06-11T10:43:50.823Z
|
||||
Found: 4 circular chain(s) — these MUST be fixed before modifying involved files.
|
||||
|
||||
1. 1) data/guardian-encounters.ts > data/guardian-procedural.ts
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"_meta": {
|
||||
"generated": "2026-06-11T10:27:30.856Z",
|
||||
"generated": "2026-06-11T10:43:48.464Z",
|
||||
"description": "Import dependency graph for src/lib/game. Keys are files, values are arrays of files they import.",
|
||||
"usage": "To find what a file affects, search for its path in the VALUES. To find what a file depends on, look at its KEY entry."
|
||||
},
|
||||
@@ -563,6 +563,7 @@
|
||||
"utils/index.ts"
|
||||
],
|
||||
"stores/combat-damage.ts": [
|
||||
"constants/spells.ts",
|
||||
"data/enchantment-effects.ts",
|
||||
"stores/combat-state.types.ts",
|
||||
"types.ts",
|
||||
|
||||
@@ -38,7 +38,9 @@ Mana-Loop/
|
||||
│ ├── combat-happy-path.spec.ts
|
||||
│ ├── enchanter-happy-path.spec.ts
|
||||
│ ├── fabricator-happy-path.spec.ts
|
||||
│ └── playtest.spec.ts
|
||||
│ ├── playtest-basic-ui.spec.ts
|
||||
│ ├── playtest-debug.spec.ts
|
||||
│ └── playtest-tabs.spec.ts
|
||||
├── public/
|
||||
│ ├── fonts/
|
||||
│ │ ├── GeistMonoVF.woff
|
||||
|
||||
Reference in New Issue
Block a user