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 goma startup and shutdown (#5447)
Andrey Lushnikov2a40d8ec8ec7
diff --git a/browser_patches/chromium/goma.sh b/browser_patches/chromium/goma.shindex 9d4f68902a..5b9b28db76 100755--- a/browser_patches/chromium/goma.sh+++ b/browser_patches/chromium/goma.sh@@ -14,16 +14,16 @@ if [[ ! -d ./electron-build-tools ]]; thencd ..fi-cd electron-build-tools+cd electron-build-tools/third_party/gomaif [[ $1 == "--help" ]]; thenecho "$(basename $0) [login|start|stop|--help]"exit 0elif [[ $1 == "login" ]]; thenif [[ $(uname) == "MINGW"* ]]; then- /c/Windows/System32/cmd.exe "/c $(cygpath -w $(pwd)/third_party/goma/goma_auth.bat) login"+ /c/Windows/System32/cmd.exe "/c $(cygpath -w $(pwd)/goma_auth.bat) login"else- python ./third_party/goma/goma_auth.py login+ python ./goma_auth.py loginfielif [[ $1 == "start" ]]; then# We have to prefix ENV with `PLAYWRIGHT` since `GOMA_` env variables@@ -37,15 +37,15 @@ elif [[ $1 == "start" ]]; thenexit 1fiif [[ $(uname) == "MINGW"* ]]; then- /c/Windows/System32/cmd.exe "/c $(cygpath -w $(pwd)/third_party/goma/goma_ctl.bat) ensure_start"+ /c/Windows/System32/cmd.exe "/c $(cygpath -w $(pwd)/goma_ctl.bat) ensure_start"else- python ./third_party/goma/goma_ctl.py ensure_start+ python ./goma_ctl.py ensure_startfielif [[ $1 == "stop" ]]; thenif [[ $(uname) == "MINGW"* ]]; then- /c/Windows/System32/cmd.exe "/c $(cygpath -w $(pwd)/third_party/goma/goma_ctl.bat) stop"+ /c/Windows/System32/cmd.exe "/c $(cygpath -w $(pwd)/goma_ctl.bat) stop"else- python ./third_party/goma/goma_ctl.py stop+ python ./goma_ctl.py stopfielseecho "ERROR: unknown command - $1"