Skip to content

Commit

Permalink
chore: Skip playwright instaling browsers (#8935)
Browse files Browse the repository at this point in the history
* Push

* try npmrc route

* Rootnpmrc

* Add command to install chromium for running tests
  • Loading branch information
PuruVJ committed Jul 7, 2023
1 parent 3ff0084 commit 828276f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
playwright_skip_browser_download=1
2 changes: 2 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`.

Expand Down

0 comments on commit 828276f

Please sign in to comment.