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: properly extract remote url while running export checks
Andrey Lushnikovb6e518399ccc
diff --git a/browser_patches/export.sh b/browser_patches/export.shindex af1f97775a..e08e29c2eb 100755--- a/browser_patches/export.sh+++ b/browser_patches/export.sh@@ -74,8 +74,9 @@ cd $CHECKOUT_PATH# Setting up |$REMOTE_BROWSER_UPSTREAM| remote and fetch the $BASE_BRANCHif git remote get-url $REMOTE_BROWSER_UPSTREAM >/dev/null; then- if ! [[ $(git remote get-url $REMOTE_BROWSER_UPSTREAM) == "$REMOTE_URL" ]]; then- echo "ERROR: remote $REMOTE_BROWSER_UPSTREAM is not pointng to '$REMOTE_URL'! run `prepare_checkout.sh` first"+ if ! [[ $(git config --get remote.$REMOTE_BROWSER_UPSTREAM.url || echo "") == "$REMOTE_URL" ]]; then+ echo "ERROR: remote $REMOTE_BROWSER_UPSTREAM is not pointing to '$REMOTE_URL'! run `prepare_checkout.sh` first"+ exit 1fielseecho "ERROR: checkout does not have $REMOTE_BROWSER_UPSTREAM; run `prepare_checkout.sh` first"