-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
npm run test-e2e
fails / CONTRIBUTING.md directions incomplete or incorrect
#542
Comments
Oh no! I am not running into this problem running I have seen this issue though if the Cypress install was interrupted at some point during Can you try to run |
I did, and it doesn't seem able to find cypress. is that assumption correct/incorrect? |
yeah, it should have been installed when running |
I've done it already a few times, but it seems to consistently attempt to run that said, happy to try one more time! |
Can you type |
|
@jennifer-shehane any new thoughts on this? |
No, I definitely don't have cypress installed globally. It's installed per project since I work on 10+ projects with Cypress. I have no idea why this is happening. We are using |
Huh, that is interesting then! Curious, why would we expect |
This is just how Cypress install works currently. It downloads the Cypress app binary - no other deps needed to install and run. There has been some requests to allow this to be skipped cypress-io/cypress#1232 |
Sorry, maybe I was unclear, so I'll try to rephrase. I'm aware that it "installs" cypress by downloading the binary, which makes perfect sense to me. What I'm not clear about is why we would expect typing Phrased differently, if I downloaded some other binary (say, What makes cypress any different in this context? |
We don't type |
Right, and that's all I'm doing too, but given that, THAT SAID... So I switched to Cypress is found, tests all pass (as they should for a super minor markdown file edit), and everything is dandy. Possible conclusion: it really is an issue with the I'm going to follow the same process as I just did, switch back to the latest |
ugh, alright. I'm going to chalk it up to bad luck during install or a dumb error on my part I guess. Sorry for the hassle/noise, but thanks for helping me recognize that I was the problem this time. ;) PR is submitted as #547, and I'll go ahead and close this issue that wasn't really an issue at all! |
goal
to submit a minor documentation pull request.
CONTRIBUTING.md
asks that I actually use cypress to test the documentation before I submit the pr, so I was attempting to do so as detailed and ran into an issue.repro steps
npm install
npm run build
npm start
localhost:2222
in my browsernpm start
process in preparation to runnpm run test-e2e
npm run test-e2e
what I expected to happen
cypress would start an node server to test against, and then execute cypress (which was installed correctly in step 3 above, mind you) against that node server to test.
what happened instead
The text was updated successfully, but these errors were encountered: