- 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