diff --git a/.npmrc b/.npmrc new file mode 100644 index 0000000000..33484750d0 --- /dev/null +++ b/.npmrc @@ -0,0 +1 @@ +playwright_skip_browser_download=1 \ No newline at end of file diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index f7896b86c8..8c66b30ebf 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -97,6 +97,8 @@ Test samples are kept in `/test/xxx/samples` folder. #### Running tests +> PREREQUISITE: Install chromium via playwright by running `pnpm playwright install chromium` + 1. To run test, run `pnpm test`. 1. To run test for a specific feature, you can use the `-g` (aka `--grep`) option. For example, to only run test involving transitions, run `pnpm test -- -g transition`.