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

[Documentation:Developer] Fix WSL issue installing Cypress #558

Merged
merged 3 commits into from
Oct 20, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions _docs/developer/testing/cypress.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ directly, but rather focuses on user navigation through the website. It
used to use Selenium, but has been rewritten in using Cypress.

## Installation

Make sure you have `node.js` version 10 or higher installed locally. You can check using the command: `node -v`
Make sure you have [`node.js`](https://www.nodejs.org/) version 10 or higher installed locally. You can check using the command: `node -v`

```bash
# from the site directory
Expand All @@ -21,6 +20,8 @@ npm install

If you are on Linux, view [this page](https://docs.cypress.io/guides/getting-started/installing-cypress.html#Linux) to see what dependencies you may need to install additionally for Cypress.

If you are on WSL and run into an error, make sure you installed `node.js` on your desktop (Program Files) and not inside your local Submitty repository.

## Cypress Test Runner

You can open the test runner by navigating into `site/` and using the command:
Expand Down
Loading