Skip to content

Commit

Permalink
feat(readme): modification readme ajout test playwright
Browse files Browse the repository at this point in the history
  • Loading branch information
titiBeOne committed Jan 8, 2025
1 parent 444f8a9 commit 7dcb9f0
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,17 @@ console.log(

## How to generate Lighthouse and EcoIndex reports

This aggregator tool can also be used directly inside a cypress test. For example, we can generate the global report once the Cypress tests suite has finished.
This aggregator tool can also be used directly inside a cypress or playwright test. For example, we can generate the global report once the Cypress or Playwright tests suite has finished.

### To generate playwright suite tests

Please take a look here :
[generate playwright suite tests ](playwright-demo/README.md)

Your playwright test will look like [this](playwright-demo/Tests/welcomeAxaPage.spec.ts)


### To generate cypress suite tests

```javascript
// cypress.config.js
Expand Down

0 comments on commit 7dcb9f0

Please sign in to comment.