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: do a full browser checkout by default on Dev machines (#6411)
Andrey Lushnikov5509527917ff
diff --git a/browser_patches/prepare_checkout.sh b/browser_patches/prepare_checkout.shindex 20e1eb502d..00c4a9504e 100755--- a/browser_patches/prepare_checkout.sh+++ b/browser_patches/prepare_checkout.sh@@ -146,7 +146,14 @@ fi# if there's no checkout folder - checkout one.if ! [[ -d $CHECKOUT_PATH ]]; thenecho "-- $FRIENDLY_CHECKOUT_PATH is missing - checking out.."- git clone --single-branch --depth 1 --branch $BASE_BRANCH $REMOTE_URL $CHECKOUT_PATH+ if [[ -n "$CI" ]]; then+ # In CI environment, we re-checkout constantly, so we do a shallow checkout to save time.+ git clone --single-branch --depth 1 --branch $BASE_BRANCH $REMOTE_URL $CHECKOUT_PATH+ else+ # In non-CI environment, do a full checkout. This takes time,+ # but liberates from the `git fetch --unshallow`.+ git clone --single-branch --branch $BASE_BRANCH $REMOTE_URL $CHECKOUT_PATH+ fielseecho "-- checking $FRIENDLY_CHECKOUT_PATH folder - OK"fi