adamant-printer-77643
02/05/2023, 5:33 PMphp artisan serve --host=127.0.0.1 --port=1234 &
3. Checks the server status using curl: curl -vv http://127.0.0.1:1234 (it returns the correct default page of the api)
4. Runs cypress:
- name: Cypress run
uses: cypress-io/github-action@v5
env:
API_BASE_URL: http://127.0.0.1:1234/
with:
start: npm run dev
wait-on: "http://127.0.0.1:1234/"
5. The cypress command fails on `http://127.0.0.1:1234/ timed out on retry 91 of 3, elapsed 90245ms, limit 90000ms`' in github actions.
Any ideas on how I can debug this further? Thanks!many-airline-45402
02/06/2023, 10:42 AMmany-airline-45402
02/06/2023, 10:46 AMadventurous-dream-20049
02/06/2023, 4:27 PMcypress run command will only be executed when the URL http://127.0.0.1:1234/ responds with an HTTP status code of 200. The server will also shut down when the tests complete.
You can find more in our docs here: https://docs.cypress.io/guides/continuous-integration/introduction#Solutionsmany-airline-45402
02/06/2023, 4:34 PMadamant-printer-77643
02/06/2023, 9:17 PMadamant-printer-77643
02/06/2023, 9:17 PMadamant-printer-77643
02/06/2023, 9:18 PMmany-airline-45402
02/07/2023, 8:04 AMmany-airline-45402
02/07/2023, 8:32 AMmany-airline-45402
02/07/2023, 8:50 AM