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 Chromium build on Windows (#13310)
Andrey Lushnikov3d3c40308530
diff --git a/browser_patches/prepare_checkout.sh b/browser_patches/prepare_checkout.shindex 1ef452ac37..7e7f3c04ee 100755--- a/browser_patches/prepare_checkout.sh+++ b/browser_patches/prepare_checkout.sh@@ -27,6 +27,15 @@ if [[ $# == 0 ]]; thenexit 1fi+function maybe_cmd {+ if [[ $(uname) == MINGW* || "$(uname)" == MSYS* ]]; then+ local args="$@"+ /c/Windows/System32/cmd.exe "/c $args"+ else+ $@+ fi+}+function prepare_chromium_checkout {cd "${SCRIPT_PATH}"@@ -44,12 +53,12 @@ function prepare_chromium_checkout {rm -rf "${CR_CHECKOUT_PATH}"mkdir -p "${CR_CHECKOUT_PATH}"cd "${CR_CHECKOUT_PATH}"- fetch --nohooks chromium+ maybe_cmd fetch --nohooks chromiumcd srcif [[ $(uname) == "Linux" ]]; then./build/install-build-deps.shfi- gclient runhooks+ maybe_cmd gclient runhooksfiif [[ ! -d "${CR_CHECKOUT_PATH}/src" ]]; thenecho "ERROR: CR_CHECKOUT_PATH does not have src/ subfolder; is this a chromium checkout?"@@ -57,10 +66,10 @@ function prepare_chromium_checkout {ficd "${CR_CHECKOUT_PATH}/src"- gclient sync --with_branch_heads+ maybe_cmd gclient sync --with_branch_headsgit fetch origingit checkout "${BRANCH_COMMIT}"- gclient sync -D --with_branch_heads+ maybe_cmd gclient sync -D --with_branch_heads}# FRIENDLY_CHECKOUT_PATH is used only for logging.