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: update goma to a new version (#13962)
Andrey Lushnikov5338bc006569
diff --git a/browser_patches/chromium/goma.sh b/browser_patches/chromium/goma.shindex 426f9896bc..8e2ff8649b 100755--- a/browser_patches/chromium/goma.sh+++ b/browser_patches/chromium/goma.sh@@ -7,7 +7,7 @@ cd "$(dirname "$0")"SCRIPT_FOLDER=$(pwd -P)source "${SCRIPT_FOLDER}/../utils.sh"-ELECTRON_BUILD_TOOLS_REQUIRED_VERSION=6ba8962529c37727a778691b89c92ab0eb1d9d87+ELECTRON_BUILD_TOOLS_REQUIRED_VERSION=2c24fb5c7c938a4e387f355ab64be449604ae5dbif [[ -d ./electron-build-tools ]]; thencd ./electron-build-tools# Make sure required commit is part of electron-build-tools.@@ -23,13 +23,23 @@ fiif [[ ! -d ./electron-build-tools ]]; thengit clone --single-branch --branch main https://github.com/electron/build-tools/ electron-build-toolscd electron-build-tools- git checkout 926e1a2f2926b9a7663ae865c3bd9a1b1d366393npm installmkdir -p third_party./src/e update-goma msftGomacd ..fi+if ! is_win; then+ if command -v python >/dev/null; then+ PYTHON=python+ elif command -v python3 >/dev/null; then+ PYTHON=python3+ else+ echo "ERROR: no python or python3 found in PATH"+ exit 1+ fi+fi+cd electron-build-tools/third_party/gomaexport GOMA_START_COMPILER_PROXY=true@@ -52,7 +62,7 @@ elif [[ $1 == "login" ]]; thenif is_win; then/c/Windows/System32/cmd.exe "/c $(cygpath -w $(pwd)/goma_auth.bat) login"else- python ./goma_auth.py login+ $PYTHON ./goma_auth.py loginfiechoecho "Congratulation! Goma is logged in!"@@ -71,7 +81,7 @@ elif [[ $1 == "start" ]]; thenif is_win; then/c/Windows/System32/cmd.exe "/c $(cygpath -w $(pwd)/goma_ctl.bat) ensure_start"else- python ./goma_ctl.py ensure_start+ $PYTHON ./goma_ctl.py ensure_startfiset +xecho@@ -86,7 +96,7 @@ elif [[ $1 == "stop" ]]; thenif is_win; then/c/Windows/System32/cmd.exe "/c $(cygpath -w $(pwd)/goma_ctl.bat) stop"else- python ./goma_ctl.py stop+ $PYTHON ./goma_ctl.py stopfielseecho "ERROR: unknown command - $1"