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 builds on MacOS 12 (#10865)

Andrey Lushnikov027ecd80d0cb
diff --git a/browser_patches/firefox-beta/build.sh b/browser_patches/firefox-beta/build.sh
index 372a8434f6..b696e7b837 100755
--- a/browser_patches/firefox-beta/build.sh
+++ b/browser_patches/firefox-beta/build.sh
@@ -23,7 +23,7 @@ rm -rf .mozconfig
if [[ "$(uname)" == "Darwin" ]]; then
CURRENT_HOST_OS_VERSION=$(getMacVersion)
# As of Oct 2021, building Firefox requires XCode 13
- if [[ "${CURRENT_HOST_OS_VERSION}" == "11."* ]]; then
+ if [[ "${CURRENT_HOST_OS_VERSION}" != "10."* ]]; then
selectXcodeVersionOrDie "13"
else
echo "ERROR: ${CURRENT_HOST_OS_VERSION} is not supported"
diff --git a/browser_patches/firefox/build.sh b/browser_patches/firefox/build.sh
index 04e1369c0c..0cee43dfec 100755
--- a/browser_patches/firefox/build.sh
+++ b/browser_patches/firefox/build.sh
@@ -23,7 +23,7 @@ rm -rf .mozconfig
if [[ "$(uname)" == "Darwin" ]]; then
CURRENT_HOST_OS_VERSION=$(getMacVersion)
# As of Oct 2021, building Firefox requires XCode 13
- if [[ "${CURRENT_HOST_OS_VERSION}" == "11."* ]]; then
+ if [[ "${CURRENT_HOST_OS_VERSION}" != "10."* ]]; then
selectXcodeVersionOrDie "13"
else
echo "ERROR: ${CURRENT_HOST_OS_VERSION} is not supported"