Skip to content

Commit

Permalink
changes test command instructions to reference run-e2e instead of tes…
Browse files Browse the repository at this point in the history
…t-tutorial (#2593)
  • Loading branch information
devhmac committed May 21, 2021
1 parent b5794b3 commit dc53a1f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Expand Up @@ -323,14 +323,14 @@ yarn rw dev web
We're using Cypress to test the steps that we recommend in the tutorial. Run the command by doing the following:

```terminal
./tasks/test-tutorial
./tasks/run-e2e
```

This creates a new project in a tmp directory using `yarn create redwood-app ...` Once installed, it then upgrades the project to the most recent `canary` release, which means it will use the current code in the `main` branch. Once the upgrade is complete (and successful), it will start Cypress for the E2E tests.


```terminal
./tasks/test-tutorial /path/to/app
./tasks/run-e2e /path/to/app
```

Use this `path/to/app` option to run the same Cypress E2E tests against a local project. In this case, the command will _not_ upgrade the project to the `canary` release — it will use the project's installed packages. Chose this option if you have modified code (and packages) you want to test locally.
Expand Down

0 comments on commit dc53a1f

Please sign in to comment.