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(chromium): install depot_tools if missing (#5204)
Andrey Lushnikov75a0d7a76b82
diff --git a/browser_patches/chromium/.gitignore b/browser_patches/chromium/.gitignoreindex 1f57b975cd..23b33df7f1 100644--- a/browser_patches/chromium/.gitignore+++ b/browser_patches/chromium/.gitignore@@ -1 +1,2 @@/output+/depot_toolsdiff --git a/browser_patches/chromium/build.sh b/browser_patches/chromium/build.shindex 620e2000fd..fde8fb8e13 100755--- a/browser_patches/chromium/build.sh+++ b/browser_patches/chromium/build.sh@@ -34,10 +34,11 @@ compile_chromium() {echo "ERROR: chromium compilation requires CR_CHECKOUT_PATH to be set to reuse checkout."exit 1fi- if ! command -v gclient >/dev/null; then- echo "ERROR: chromium compilation requires depot_tools to be installed!"- exit 1++ if [[ ! -d "${SCRIPT_PATH}/depot_tools" ]]; then+ git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git "${SCRIPT_PATH}/depot_tools"fi+ export PATH="${SCRIPT_PATH}/depot_tools:$PATH"CHROMIUM_FOLDER_NAME=""CHROMIUM_FILES_TO_ARCHIVE=()