Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cypress-documantation-update README for cypress testing #2068

Merged
merged 2 commits into from
Jan 22, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading