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: prettify telegram messages
Andrey Lushnikov871235939e75
diff --git a/browser_patches/checkout_build_archive_upload.sh b/browser_patches/checkout_build_archive_upload.shindex 86cda817d2..61682e6066 100755--- a/browser_patches/checkout_build_archive_upload.sh+++ b/browser_patches/checkout_build_archive_upload.sh@@ -121,10 +121,9 @@ ficd -source ./buildbots/send_telegram_message.sh-LAST_COMMIT_MESSAGE=$(git log --format=%s -n 1 HEAD -- ./$BROWSER_NAME/BUILD_NUMBER)-BUILD_ALIAS="<b>[[$BUILD_FLAVOR r$BUILD_NUMBER]]</b> $LAST_COMMIT_MESSAGE"+BUILD_ALIAS="$BUILD_FLAVOR r$BUILD_NUMBER"-send_telegram_message "$BUILD_ALIAS -- started ⏳"+send_telegram_message "$BUILD_ALIAS -- started"if [[ "$BUILD_FLAVOR" == "webkit-gtk-wpe" ]]; thenecho "-- combining binaries together"@@ -164,4 +163,12 @@ if ! ./upload.sh $BUILD_FLAVOR $ZIP_PATH; thenexit 1fiUPLOAD_SIZE=$(du -h "$ZIP_PATH" | awk '{print $1}')-send_telegram_message "$BUILD_ALIAS -- $UPLOAD_SIZE uploaded ✅"+send_telegram_message "$BUILD_ALIAS -- $UPLOAD_SIZE uploaded"++if ./tools/check_cdn.sh $BROWSER_NAME --has-all-builds; then+ LAST_COMMIT_MESSAGE=$(git log --format=%s -n 1 HEAD -- ./$BROWSER_NAME/BUILD_NUMBER)+ send_telegram_message "<b>$BROWSER_NAME r${BUILD_NUMBER} COMPLETE! ✅</b> $LAST_COMMIT_MESSAGE"+fi+++diff --git a/browser_patches/tools/check_cdn.sh b/browser_patches/tools/check_cdn.shindex cb710fd16b..85e6450326 100755--- a/browser_patches/tools/check_cdn.sh+++ b/browser_patches/tools/check_cdn.sh@@ -3,9 +3,10 @@ set -eset +xif [[ ($1 == '--help') || ($1 == '-h') ]]; then- echo "usage: $(basename $0) [firefox|webkit] [--full-history]"+ echo "usage: $(basename $0) [firefox|webkit] [--full-history] [--has-all-builds]"echoecho "List CDN status for browser"+ echoexit 0fi@@ -75,6 +76,16 @@ elseexit 1fi+if [[ $* == *--has-all-builds ]]; then+ for i in "${ARCHIVES[@]}"; do+ URL=$(printf $i $REVISION)+ if ! [[ $(curl -s -L -I $URL | head -1 | cut -f2 -d' ') == 200 ]]; then+ exit 1+ fi+ done;+ exit 0+fi+STOP_REVISION=$((REVISION - 3))if [[ $* == *--full-history* ]]; thenSTOP_REVISION=0