diff --git a/docs/circular-deps.txt b/docs/circular-deps.txt index 5b3cf3d..9eefdcb 100644 --- a/docs/circular-deps.txt +++ b/docs/circular-deps.txt @@ -1,4 +1,4 @@ # Circular Dependencies -Generated: 2026-06-02T11:55:05.709Z +Generated: 2026-06-02T13:46:41.866Z No circular dependencies found. ✅ diff --git a/docs/dependency-graph.json b/docs/dependency-graph.json index 4006e49..dd7d6ca 100644 --- a/docs/dependency-graph.json +++ b/docs/dependency-graph.json @@ -1,6 +1,6 @@ { "_meta": { - "generated": "2026-06-02T11:55:03.952Z", + "generated": "2026-06-02T13:46:40.091Z", "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." }, diff --git a/e2e/combat-happy-path.spec.ts b/e2e/combat-happy-path.spec.ts index 3fa70f2..e51e9cb 100644 --- a/e2e/combat-happy-path.spec.ts +++ b/e2e/combat-happy-path.spec.ts @@ -97,10 +97,21 @@ test.describe('Combat Happy-Path: Spire Climb → Combat → Mana Recovery → E // ── 2b. Boost max mana via Raw Mana Mastery discipline XP ──────────────── console.log('[TEST] 2b. Boosting max mana via Raw Mana Mastery XP...'); + // The Disciplines section is collapsed by default — expand it + const disciplinesHeader = page.locator('button', { hasText: /^Disciplines$/ }).first(); + await disciplinesHeader.click(); + await waitForMs(page, 300); + // Find the Raw Mana Mastery discipline row via data-testid const rawManaRow = page.getByTestId('debug-discipline-row-raw-mastery'); await expect(rawManaRow).toBeVisible({ timeout: 5000 }); + // Activate Raw Mana Mastery first (discipline must exist in store before XP can be added) + const toggleBtn = page.getByTestId('debug-discipline-toggle-raw-mastery'); + await expect(toggleBtn).toBeVisible({ timeout: 5000 }); + await toggleBtn.click(); + await waitForMs(page, 200); + // The +1K button within that row const plus1KBtn = page.getByTestId('debug-discipline-add1k-raw-mastery'); await expect(plus1KBtn).toBeVisible({ timeout: 5000 });