Skip to content

Commit

Permalink
docs: explain installing browsers for e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
thorn0 committed May 22, 2024
1 parent bccb3c0 commit ec9ec16
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/lexical-website/docs/testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,11 @@ Unit tests can be found in [this directory](https://github.com/facebook/lexical/

## End-to-end (E2E) tests

We use [Playwright](https://playwright.dev/) for running E2E tests in Chromium, Firefox and WebKit.
We use [Playwright](https://playwright.dev/) for running E2E tests in Chromium, Firefox and WebKit. Before running these tests, make sure to install the necessary browsers using the following command:

```
npx playwright install
```

These tests run in the `lexical-playground` package and are divided into proactive and reactive tests (`e2e` and `regression` directories).

Expand Down

0 comments on commit ec9ec16

Please sign in to comment.