I am using start-server-and-test but it is giving timeout error after 10 mins. I am following Cypress documentation only.
Another package that I used is npm wait-on but it is also not working
"scripts": {
"dev": "cd ../../ && npm run start",
"run:component": "cypress run --spec integration/component_test/*.spec.js",
"componentTest": "npm run dev wait-on http://localhost:3000/ && run:component",
},
I am running npm run componentTest
, but it is not running NEXT_CMD command, i.e. run:component
.