create end to end tests using playwright

This commit is contained in:
Evan Almloff committed 2023-06-05 13:48:58 -05:00
1 parent 0fec47db72
commit 741ff97882
18 files changed
+732 -2

No files matched your search

+6
View File
@@ -41,6 +41,12 @@ cargo check --workspace --examples --tests
cargo clippy --workspace --examples --tests -- -D warnings
```
- Browser tests are automated with [Playwrite](https://playwright.dev/docs/intro#installing-playwright)
```sh
npx playwright test
```
- Crates that use unsafe are checked for undefined behavior with [MIRI](https://github.com/rust-lang/miri). MIRI can be helpful to debug what unsafe code is causing issues. Only code that does not interact with system calls can be checked with MIRI. Currently, this is used for the two MIRI tests in `dioxus-core` and `dioxus-native-core`.
```sh