Skip to content
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

Windows users can't use Cypress in the LOGINS section #2

Open
wswebcreation opened this issue Apr 20, 2021 · 0 comments
Open

Windows users can't use Cypress in the LOGINS section #2

wswebcreation opened this issue Apr 20, 2021 · 0 comments

Comments

@wswebcreation
Copy link

wswebcreation commented Apr 20, 2021

Windows user can't follow the steps from the https://github.com/saucelabs-training/automation-best-practices/blob/main/login-testing/LOGINS.md section. The Cypress examples use scripts like this "dev": "../../node_modules/.bin/start-test 7077 cypress:open",

Windows is not unix based so this will break with an error saying

'..' is not recognized as an internal or external command,
operable program or batch file.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: `../../node_modules/

There's a workaround here cypress-io/cypress-example-recipes#404 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant