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
5.4 KiB
5.4 KiB