Cypress step can hang in the CI
Ex: https://gitlab.esrf.fr/workflow/ewoks/ewoksweb/-/jobs/511914
This is due to pnpm dlx wait-on http://localhost:3000
never resolving.
My guess it that the port 3000
was not available so pnpm dlx serve
ran the server on a different port (42033
in the linked example), preventing the wait-on
to resolve.
Perhaps the app on the port 3000
is not cleaned-up fast enough when CI jobs are run in quick succession
Might be worth running lsof -i :3000
on failure.