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 on windows
Andrey Lushnikov206432cefd16
diff --git a/browser_patches/chromium/goma.sh b/browser_patches/chromium/goma.shindex 2807bed079..9d4f68902a 100755--- a/browser_patches/chromium/goma.sh+++ b/browser_patches/chromium/goma.sh@@ -20,7 +20,11 @@ if [[ $1 == "--help" ]]; thenecho "$(basename $0) [login|start|stop|--help]"exit 0elif [[ $1 == "login" ]]; then- python ./third_party/goma/goma_auth.py login+ if [[ $(uname) == "MINGW"* ]]; then+ /c/Windows/System32/cmd.exe "/c $(cygpath -w $(pwd)/third_party/goma/goma_auth.bat) login"+ else+ python ./third_party/goma/goma_auth.py login+ fielif [[ $1 == "start" ]]; then# We have to prefix ENV with `PLAYWRIGHT` since `GOMA_` env variables# have special treatment by goma.@@ -32,9 +36,17 @@ elif [[ $1 == "start" ]]; thenecho "run '$(basename $0) login'"exit 1fi- python ./third_party/goma/goma_ctl.py ensure_start+ if [[ $(uname) == "MINGW"* ]]; then+ /c/Windows/System32/cmd.exe "/c $(cygpath -w $(pwd)/third_party/goma/goma_ctl.bat) ensure_start"+ else+ python ./third_party/goma/goma_ctl.py ensure_start+ fielif [[ $1 == "stop" ]]; then- python ./third_party/goma/goma_ctl.py stop+ if [[ $(uname) == "MINGW"* ]]; then+ /c/Windows/System32/cmd.exe "/c $(cygpath -w $(pwd)/third_party/goma/goma_ctl.bat) stop"+ else+ python ./third_party/goma/goma_ctl.py stop+ fielseecho "ERROR: unknown command - $1"echo "Use --help to list all available commands"