Skip to content

Commit

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

#### **5. 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

## Commands

### `cy:run:e2e`

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

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

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

For more information, refer to the [Cypress Documentation](https://docs.cypress.io).

<br>

#### **6. Components**
Expand Down

0 comments on commit d2d4f66

Please sign in to comment.