Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

devops: fix prepare checkout script on pristine machine (#7270)

Andrey Lushnikovf342d8b0b105
diff --git a/browser_patches/prepare_checkout.sh b/browser_patches/prepare_checkout.sh
index cdc278caf0..8febdc7bdf 100755
--- a/browser_patches/prepare_checkout.sh
+++ b/browser_patches/prepare_checkout.sh
@@ -173,6 +173,7 @@ if git remote get-url $REMOTE_BROWSER_UPSTREAM >/dev/null; then
else
echo "-- adding |$REMOTE_BROWSER_UPSTREAM| remote to $REMOTE_URL"
git remote add $REMOTE_BROWSER_UPSTREAM $REMOTE_URL
+ git fetch --depth 1 $REMOTE_BROWSER_UPSTREAM $BASE_BRANCH
fi
# Check if our checkout contains BASE_REVISION.