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-beta build (#14282)
Andrey Lushnikova7a7644bebd6
diff --git a/browser_patches/firefox-beta/BUILD_NUMBER b/browser_patches/firefox-beta/BUILD_NUMBERindex 7b665d8f7c..ed3779dd0f 100644--- a/browser_patches/firefox-beta/BUILD_NUMBER+++ b/browser_patches/firefox-beta/BUILD_NUMBER@@ -1,2 +1,2 @@-1324-Changed: [email protected] Mon 16 May 2022 08:24:55 AM PDT+1325+Changed: [email protected] Thu May 19 17:56:07 +03 2022diff --git a/browser_patches/firefox-beta/build.sh b/browser_patches/firefox-beta/build.shindex 02f7ceee63..0d3af6d220 100755--- a/browser_patches/firefox-beta/build.sh+++ b/browser_patches/firefox-beta/build.sh@@ -82,10 +82,22 @@ if [[ $1 != "--juggler" ]]; thenfiif [[ $1 == "--full" || $2 == "--full" || $1 == "--bootstrap" ]]; then- echo "ac_add_options --enable-bootstrap" >> .mozconfig- if is_mac || is_linux; then- SHELL=/bin/sh ./mach --no-interactive bootstrap --application-choice=browser+ # This is a slow but sure way to get all the necessary toolchains.+ # However, it will not work if tree is dirty.+ # Bail out if git repo is dirty.+ if [[ -n $(git status -s --untracked-files=no) ]]; then+ echo "ERROR: dirty GIT state - commit everything and re-run the script."+ exit 1fi++ # 1. We have a --single-branch checkout, so we have to add a "master" branch and fetch it+ git remote set-branches --add browser_upstream master+ git fetch browser_upstream master+ # 2. Checkout the master branch and run bootstrap from it.+ git checkout browser_upstream/master+ SHELL=/bin/sh ./mach --no-interactive bootstrap --application-choice=browser+ git checkout -+if [[ ! -z "${WIN32_REDIST_DIR}" ]]; then# Having this option in .mozconfig kills incremental compilation.echo "export WIN32_REDIST_DIR=\"$WIN32_REDIST_DIR\"" >> .mozconfig