Skip to content

Commit

Permalink
Add disclaimer that playwright might fail
Browse files Browse the repository at this point in the history
  • Loading branch information
Leonard committed Sep 19, 2023
1 parent e772251 commit 203dab5
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions docs-src/0.4/en/contributing/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,19 +56,20 @@ cargo install --force cargo-make
cargo make tests
```

- Test unsafe crates with [MIRI](https://github.com/rust-lang/miri). Currently, this is used for the two MIRI tests in `dioxus-core` and `dioxus-native-core`:

```sh
cargo miri test --package dioxus-core --test miri_stress
cargo miri test --package dioxus-native-core --test miri_native
```

- Test with Playwright. This tests the UI itself, right in a browser. Here are all steps, including installation:
**Disclaimer: This might inexplicably fail on your machine without it being your fault.** Make that PR anyway!

```sh
cd playwright-tests
npm ci
npm install -D @playwright/test
npx playwright install --with-deps
npx playwright test
```

- Test unsafe crates with [MIRI](https://github.com/rust-lang/miri). Currently, this is used for the two MIRI tests in `dioxus-core` and `dioxus-native-core`:

```sh
cargo miri test --package dioxus-core --test miri_stress
cargo miri test --package dioxus-native-core --test miri_native
```
```

0 comments on commit 203dab5

Please sign in to comment.