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: fix Firefox build on Linux (#16022)
Andrey Lushnikov96574e49eb13
diff --git a/browser_patches/firefox-beta/build.sh b/browser_patches/firefox-beta/build.shindex cc0b48f4a7..70d2da2940 100755--- a/browser_patches/firefox-beta/build.sh+++ b/browser_patches/firefox-beta/build.sh@@ -89,10 +89,8 @@ if [[ -n "${IS_LINUX_ARM64}" ]]; thenecho "ac_add_options --target=aarch64-linux-gnu" >> .mozconfigfi-if is_linux "debian" 11; then- # There's no pre-built wasi sysroot for Debian 11.- echo "ac_add_options --without-wasm-sandboxed-libraries" >> .mozconfig-fi+# There's no pre-built wasi sysroot on certain platforms.+echo "ac_add_options --without-wasm-sandboxed-libraries" >> .mozconfigOBJ_FOLDER="obj-build-playwright"echo "mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/${OBJ_FOLDER}" >> .mozconfig@@ -143,6 +141,7 @@ if [[ -n "${IS_FULL}" ]]; thengit checkout browser_upstream/masterSHELL=/bin/sh ./mach --no-interactive bootstrap --application-choice=browsergit checkout -+ rm -rf "${OBJ_FOLDER}"if [[ ! -z "${WIN32_REDIST_DIR}" ]]; then# Having this option in .mozconfig kills incremental compilation.diff --git a/browser_patches/firefox/build.sh b/browser_patches/firefox/build.shindex 56eb9906b9..522579bd15 100755--- a/browser_patches/firefox/build.sh+++ b/browser_patches/firefox/build.sh@@ -89,10 +89,8 @@ if [[ -n "${IS_LINUX_ARM64}" ]]; thenecho "ac_add_options --target=aarch64-linux-gnu" >> .mozconfigfi-if is_linux "debian" 11; then- # There's no pre-built wasi sysroot for Debian 11.- echo "ac_add_options --without-wasm-sandboxed-libraries" >> .mozconfig-fi+# There's no pre-built wasi sysroot on certain platforms.+echo "ac_add_options --without-wasm-sandboxed-libraries" >> .mozconfigOBJ_FOLDER="obj-build-playwright"echo "mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/${OBJ_FOLDER}" >> .mozconfig@@ -143,6 +141,7 @@ if [[ -n "${IS_FULL}" ]]; thengit checkout browser_upstream/masterSHELL=/bin/sh ./mach --no-interactive bootstrap --application-choice=browsergit checkout -+ rm -rf "${OBJ_FOLDER}"if [[ ! -z "${WIN32_REDIST_DIR}" ]]; then# Having this option in .mozconfig kills incremental compilation.