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 prepare_checkout script (#14198)
Andrey Lushnikov0d2583f0d36f
diff --git a/browser_patches/prepare_checkout.sh b/browser_patches/prepare_checkout.shindex 8d561f2a9f..648c0b7b3a 100755--- a/browser_patches/prepare_checkout.sh+++ b/browser_patches/prepare_checkout.sh@@ -189,8 +189,8 @@ elsegit remote rename origin $REMOTE_BROWSER_UPSTREAMfi-# Check if our checkout contains BASE_REVISION.-if ! git cat-file -e "$BASE_REVISION"^{commit} 2>/dev/null; then+# if our remote branch does not contains "BASE_REVISION" - then fetch more stuff.+if [[ -z $(git branch -r --contains "${BASE_REVISION}" --list "${REMOTE_BROWSER_UPSTREAM}/${BASE_BRANCH}") ]]; then# Detach git head so that we can fetch into branch.git checkout --detach >/dev/null 2>/dev/null