Skip to content

Commit

Permalink
docs(CONTRIBUTING): e2e how to
Browse files Browse the repository at this point in the history
  • Loading branch information
awinogradov committed Aug 15, 2023
1 parent d7eb477 commit 4b0a551
Showing 1 changed file with 24 additions and 2 deletions.
26 changes: 24 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,18 +60,40 @@ Point your browser to http://localhost:3000 :tada:

### Testing and Linting

To only run linting:
#### Run linting

```sh
npm run lint
```

To only run tests:
#### Run unit tests

```sh
npm run test
```

#### Run e2e

```sh
npm run test:e2e
```

NB: dev server must be stopped.

#### Run e2e with Cypress UI and watch mode

In one terminal tab start environment:

```sh
npm run test:e2e
```

In another:

```sh
cypress open
```

### Docs

Improvements to the documentation are always welcome. You can find them in the [`docs`](/docs) path.
Expand Down

0 comments on commit 4b0a551

Please sign in to comment.