I have a bash script in the desktop executing a cypress test as follows , but even though we give the location of the test, it is requiring cypress package is available on desktop .Is there a way we can skip so that cypress package gets hosted on the inside folders itself where test files are present so that we are not duplicating cypress installation in 2 places?
Bottleneck i am facing is, i need to execute the bash script by going inside the cypress folder so that test gets executed, i am trying to find a way i can run cypress test from desktop without any dependency?
(Attached the bash.sh file)
npx cypress-repeat -n 5 --until-passes run --browser chrome --spec 'cypress/tests/client/**/login_AP.feature'
https://cdn.discordapp.com/attachments/1107777878835351593/1107777879078609020/bashAP.sh