8b41f137d5
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)
24 lines
470 B
TypeScript
24 lines
470 B
TypeScript
import { defineConfig, devices } from '@playwright/test';
|
|
|
|
export default defineConfig({
|
|
testDir: 'e2e',
|
|
fullyParallel: false,
|
|
forbidOnly: !!process.env.CI,
|
|
retries: 0,
|
|
workers: 1,
|
|
timeout: 60000,
|
|
reporter: 'html',
|
|
use: {
|
|
baseURL: 'http://localhost:3000/',
|
|
trace: 'on-first-retry',
|
|
screenshot: 'on',
|
|
video: 'retain-on-failure',
|
|
},
|
|
projects: [
|
|
{
|
|
name: 'chromium',
|
|
use: { ...devices['Desktop Chrome'] },
|
|
},
|
|
],
|
|
});
|