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 checking if branch is tip-of-tree when publishing @next (#1926)
Andrey Lushnikov511883d3f0a1
diff --git a/utils/publish_all_packages.sh b/utils/publish_all_packages.shindex 5ad589196c..f39688b29b 100755--- a/utils/publish_all_packages.sh+++ b/utils/publish_all_packages.sh@@ -54,7 +54,7 @@ elif [[ $1 == "--tip-of-tree" ]]; thenfi# Ensure this is actually tip-of-tree.- UPSTREAM_SHA=$(git ls-remote https://github.com/microsoft/playwright --tags master | cut -f1)+ UPSTREAM_SHA=$(git ls-remote https://github.com/microsoft/playwright --tags $(git rev-parse --abbrev-ref HEAD) | cut -f1)CURRENT_SHA=$(git rev-parse HEAD)if [[ "${UPSTREAM_SHA}" != "${CURRENT_SHA}" ]]; thenecho "REFUSING TO PUBLISH: this is not tip-of-tree"