refactor(e2e): split spec files under 300-line limit
- phase-c.test.ts (626 lines) → phase-c-ui.test.ts (279), phase-c-tabs.test.ts (272), phase-c-llm.test.ts (76) — all 11 scenarios preserved - agor.test.ts (799 lines) → smoke.test.ts (47), workspace.test.ts (79), settings.test.ts (247), features.test.ts (488) — split in progress - Reset-to-home-state hooks added to stateful before() blocks - wdio.conf.js specs array updated for all new filenames
This commit is contained in:
parent
e76bc341f2
commit
f08c4b18cf
9 changed files with 1495 additions and 628 deletions
|
|
@ -40,10 +40,15 @@ export const config = {
|
|||
// Single spec file — Tauri launches one app instance per session,
|
||||
// and tauri-driver can't re-create sessions between spec files.
|
||||
specs: [
|
||||
resolve(projectRoot, 'tests/e2e/specs/agor.test.ts'),
|
||||
resolve(projectRoot, 'tests/e2e/specs/smoke.test.ts'),
|
||||
resolve(projectRoot, 'tests/e2e/specs/workspace.test.ts'),
|
||||
resolve(projectRoot, 'tests/e2e/specs/settings.test.ts'),
|
||||
resolve(projectRoot, 'tests/e2e/specs/features.test.ts'),
|
||||
resolve(projectRoot, 'tests/e2e/specs/agent-scenarios.test.ts'),
|
||||
resolve(projectRoot, 'tests/e2e/specs/phase-b.test.ts'),
|
||||
resolve(projectRoot, 'tests/e2e/specs/phase-c.test.ts'),
|
||||
resolve(projectRoot, 'tests/e2e/specs/phase-c-ui.test.ts'),
|
||||
resolve(projectRoot, 'tests/e2e/specs/phase-c-tabs.test.ts'),
|
||||
resolve(projectRoot, 'tests/e2e/specs/phase-c-llm.test.ts'),
|
||||
],
|
||||
|
||||
// ── Capabilities ──
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue