-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: run bidi firefox tests on ci (#32527)
- Loading branch information
Showing
4 changed files
with
102 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
## Running Bidi tests | ||
|
||
To run Playwright tests with Bidi: | ||
|
||
```sh | ||
git clone https://github.com/microsoft/playwright.git | ||
cd playwright | ||
npm run build # call `npm run watch` for watch mode | ||
npx playwright install chromium | ||
npm run biditest -- --project='bidi-firefox-beta-*' | ||
``` | ||
|
||
To install beta channel of Firefox, run the following command in the project root: | ||
```sh | ||
npx -y @puppeteer/browsers install firefox@beta | ||
``` | ||
|
||
You can also pass custom binary path via `BIDIPATH`: | ||
```sh | ||
BIDIPATH='/Users/myself/Downloads/chrome-mac-arm64/Google Chrome for Testing.app/Contents/MacOS/Google Chrome for Testing' | ||
``` | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters