Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

devops: fix firefox build (#4088)

Andrey Lushnikov6a7d24469ae2
diff --git a/browser_patches/firefox/BUILD_NUMBER b/browser_patches/firefox/BUILD_NUMBER
index de95a94ced..4bdbc9bac8 100644
--- a/browser_patches/firefox/BUILD_NUMBER
+++ b/browser_patches/firefox/BUILD_NUMBER
@@ -1,2 +1,2 @@
-1187
-Changed: [email protected] Wed Oct 7 13:30:11 PDT 2020
+1188
+Changed: [email protected] Wed Oct 7 14:29:11 PDT 2020
diff --git a/browser_patches/firefox/build.sh b/browser_patches/firefox/build.sh
index 09bd609477..9f2bb11d99 100755
--- a/browser_patches/firefox/build.sh
+++ b/browser_patches/firefox/build.sh
@@ -41,6 +41,10 @@ fi
OBJ_FOLDER="obj-build-playwright"
echo "mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/${OBJ_FOLDER}" >> .mozconfig
+if ! [[ -f "$HOME/.mozbuild/_virtualenvs/mach/bin/python" ]]; then
+ ./mach create-mach-environment
+fi
+
if [[ $1 == "--juggler" ]]; then
./mach build faster
else