Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
RitaLei123 committed Oct 15, 2023
1 parent 452825e commit fa555f8
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions _docs/developer/testing/cypress.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +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`

If you have WSL and run into an error, make sure you installed [`node.js`](https://www.nodejs.org/) on your desktop (Program Files) and not inside your local Submitty repository.
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 @@ -23,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

0 comments on commit fa555f8

Please sign in to comment.