Skip to content

Commit

Permalink
Merge pull request #2068 from GSA/1933-cypress-documantation-update
Browse files Browse the repository at this point in the history
cypress-documantation-update README for cypress testing
  • Loading branch information
scottqueen-bixal authored Jan 22, 2025
2 parents 25155df + 10dc182 commit 5279f7f
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions benefit-finder/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -304,12 +304,32 @@ 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

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

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

```bash
npm run 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 5279f7f

Please sign in to comment.