Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
devops(firefox): fix Firefox on Apple Silicon (#5272)
Andrey Lushnikov11f570be6129
diff --git a/browser_patches/firefox/build.sh b/browser_patches/firefox/build.shindex 94ddbcc058..d45af9e714 100755--- a/browser_patches/firefox/build.sh+++ b/browser_patches/firefox/build.sh@@ -78,7 +78,12 @@ OBJ_FOLDER="obj-build-playwright"echo "mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/${OBJ_FOLDER}" >> .mozconfigif [[ $1 == "--full" ]]; then- SHELL=/bin/sh ./mach bootstrap --application-choice=browser --no-interactive --no-system-changes+ if [[ "$(uname)" == "Darwin" && "$(uname -m)" == "arm64" ]]; then+ ./mach artifact toolchain --from-build macosx64-node+ mv node "$HOME/.mozbuild"+ elif [[ "$(uname)" == "Darwin" || "$(uname)" == "Linux" ]]; then+ SHELL=/bin/sh ./mach bootstrap --application-choice=browser --no-interactive --no-system-changes+ fifiif ! [[ -f "$HOME/.mozbuild/_virtualenvs/mach/bin/python" ]]; then