Skip to content

Commit

Permalink
PXBF-1933-cypress-documantation-update: update README
Browse files Browse the repository at this point in the history
  • Loading branch information
nehemiah-abuga committed Jan 22, 2025
1 parent d2d4f66 commit 10dc182
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions benefit-finder/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -304,24 +304,26 @@ function Value = ({ children }) => (<div className="wrapper">{children}</div>)

#### **5. Testing**

# Vitest for unit/DOM testing
##### Vitest for unit/DOM testing

We use [Vitest](https://vitest.dev/) for Unit/DOM testing

```sh
npm run test
```

# Cypress for UI E2E Test
##### Cypress for UI E2E Test

## Commands

### `cy:run:e2e`
```bash
npm run cy:run:e2e
```

**Description:**
Runs the end-to-end (E2E) tests in the test environment using the Chrome browser.

### `cy:run:prod:links:e2e`
```bash
npm run cy:run:prod:links:e2e
```

**Description:**
Runs the E2E tests using the production configuration for testing links, with the Chrome browser.
Expand Down

0 comments on commit 10dc182

Please sign in to comment.