- Essential list display and empty state tests
- Essential CRUD form interaction tests
- Accept proposal with milestone selection tests
- Generated tasks display after accept tests
- Story type restriction in task creation tests
- Essential UI state management tests
Frontend P7.1 removed 'task' type from TASK_TYPES. The valid options
are now: story, issue, test, maintenance, research, review, resolution.
Update test to use 'issue' which is the current default.
- milestone.spec.ts: use unique prefix 'Milestone Test Project', target
project card by name, clean up (delete) project after verification
- project-editor.spec.ts: use unique prefix 'ProjEditor Test', target
project card by name instead of first .project-card match
This prevents cross-test interference where project-editor would
accidentally delete the project created by the milestone test.
Root cause: milestone test was the first to run after global-setup completed
the wizard configuration. The backend needed time to detect the config file
and run database migrations, but tests started immediately. This caused
/auth/token requests to fail with net::ERR_FAILED.
Changes:
- global-setup.ts: after wizard setup, poll backend /docs until it returns 200
- milestone.spec.ts: add retry loop (max 3 attempts) for login as extra safety
and assert token presence before proceeding
- global-setup.ts: configures wizard before tests run
- playwright.config.ts: uses globalSetup
- wizard.spec.ts: simplified to just verify frontend loads