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: drop build infrastructure for WebKit @ MacOS 10.14 (#8438)
Andrey Lushnikov831cff1a8234
diff --git a/browser_patches/checkout_build_archive_upload.sh b/browser_patches/checkout_build_archive_upload.shindex d62931b627..58fbf57dcb 100755--- a/browser_patches/checkout_build_archive_upload.sh+++ b/browser_patches/checkout_build_archive_upload.sh@@ -308,14 +308,9 @@ elif [[ "$BUILD_FLAVOR" == "webkit-mac-11.0-arm64" ]]; thenBUILD_BLOB_NAME="webkit-mac-11.0-arm64.zip"-# ===================================-# DEPRECATED WEBKIT COMPILATION-# ===================================-elif [[ "$BUILD_FLAVOR" == "deprecated-webkit-mac-10.14" ]]; then- BROWSER_NAME="deprecated-webkit-mac-10.14"- EXPECTED_HOST_OS="Darwin"- EXPECTED_HOST_OS_VERSION="10.14"- BUILD_BLOB_NAME="deprecated-webkit-mac-10.14.zip"+# ===========================+# Unknown input+# ===========================elseecho ERROR: unknown build flavor - "$BUILD_FLAVOR"exit 1diff --git a/browser_patches/deprecated-webkit-mac-10.14/.gitignore b/browser_patches/deprecated-webkit-mac-10.14/.gitignoredeleted file mode 100644index 5e660dc18e..0000000000--- a/browser_patches/deprecated-webkit-mac-10.14/.gitignore+++ /dev/null@@ -1 +0,0 @@-/checkoutdiff --git a/browser_patches/deprecated-webkit-mac-10.14/BUILD_NUMBER b/browser_patches/deprecated-webkit-mac-10.14/BUILD_NUMBERdeleted file mode 100644index d40a389c87..0000000000--- a/browser_patches/deprecated-webkit-mac-10.14/BUILD_NUMBER+++ /dev/null@@ -1,2 +0,0 @@-1446-Changed: [email protected] Mon Jun 7 14:01:01 PDT 2021diff --git a/browser_patches/deprecated-webkit-mac-10.14/EXPECTED_BUILDS b/browser_patches/deprecated-webkit-mac-10.14/EXPECTED_BUILDSdeleted file mode 100644index e1d6b231bf..0000000000--- a/browser_patches/deprecated-webkit-mac-10.14/EXPECTED_BUILDS+++ /dev/null@@ -1,2 +0,0 @@-deprecated-webkit-mac-10.14.zip-diff --git a/browser_patches/deprecated-webkit-mac-10.14/archive.sh b/browser_patches/deprecated-webkit-mac-10.14/archive.shdeleted file mode 100755index bb8c19a761..0000000000--- a/browser_patches/deprecated-webkit-mac-10.14/archive.sh+++ /dev/null@@ -1,48 +0,0 @@-#!/bin/bash-set -e-set +x--if [[ ("$1" == "-h") || ("$1" == "--help") ]]; then- echo "usage: $(basename $0) [output-absolute-path]"- echo- echo "Generate distributable .zip archive from ./checkout folder that was previously built."- echo- exit 0-fi--ZIP_PATH=$1-if [[ $ZIP_PATH != /* ]]; then- echo "ERROR: path $ZIP_PATH is not absolute"- exit 1-fi-if [[ $ZIP_PATH != *.zip ]]; then- echo "ERROR: path $ZIP_PATH must have .zip extension"- exit 1-fi-if [[ -f $ZIP_PATH ]]; then- echo "ERROR: path $ZIP_PATH exists; can't do anything."- exit 1-fi-if ! [[ -d $(dirname $ZIP_PATH) ]]; then- echo "ERROR: folder for path $($ZIP_PATH) does not exist."- exit 1-fi--createZipForMac() {- # create a TMP directory to copy all necessary files- local tmpdir=$(mktemp -d)-- # copy all relevant files- ditto {$SCRIPTS_DIR,$tmpdir}/pw_run.sh- # copy protocol-- # zip resulting directory and cleanup TMP.- ditto -c -k $tmpdir $ZIP_PATH- rm -rf $tmpdir-}--trap "cd $(pwd -P)" EXIT-cd "$(dirname "$0")"-SCRIPTS_DIR="$(pwd -P)"--createZipForMacdiff --git a/browser_patches/deprecated-webkit-mac-10.14/build.sh b/browser_patches/deprecated-webkit-mac-10.14/build.shdeleted file mode 100755index 2dfafaf053..0000000000--- a/browser_patches/deprecated-webkit-mac-10.14/build.sh+++ /dev/null@@ -1,3 +0,0 @@-#!/bin/bash--# NOTE: this file is intentionally empty since deprecated-webkit-mac-10.14 is now a stub.diff --git a/browser_patches/deprecated-webkit-mac-10.14/clean.sh b/browser_patches/deprecated-webkit-mac-10.14/clean.shdeleted file mode 100755index 2dfafaf053..0000000000--- a/browser_patches/deprecated-webkit-mac-10.14/clean.sh+++ /dev/null@@ -1,3 +0,0 @@-#!/bin/bash--# NOTE: this file is intentionally empty since deprecated-webkit-mac-10.14 is now a stub.diff --git a/browser_patches/deprecated-webkit-mac-10.14/pw_run.sh b/browser_patches/deprecated-webkit-mac-10.14/pw_run.shdeleted file mode 100755index ac2c2fb5b5..0000000000--- a/browser_patches/deprecated-webkit-mac-10.14/pw_run.sh+++ /dev/null@@ -1,17 +0,0 @@-#!/bin/bash--cat << EndOfMessage-****************************************************************-****************************************************************--ERROR: MacOS version is too old!--This version of Playwright does not support running-WebKit on MacOS 10.14. Please either:-- update your operating system to version 10.15 or higher-- use Playwright v1.11 or older--****************************************************************-****************************************************************-EndOfMessage-exit 1;diff --git a/browser_patches/prepare_checkout.sh b/browser_patches/prepare_checkout.shindex e0f9cefe4d..9685a05c28 100755--- a/browser_patches/prepare_checkout.sh+++ b/browser_patches/prepare_checkout.sh@@ -107,9 +107,6 @@ elif [[ ("$1" == "firefox-beta") || ("$1" == "ff-beta") ]]; thenCHECKOUT_PATH="${FF_CHECKOUT_PATH}"FRIENDLY_CHECKOUT_PATH="<FF_CHECKOUT_PATH>"fi-elif [[ ("$1" == "deprecated-webkit-mac-10.14") ]]; then- echo "FYI: deprecated-webkit-mac-10.14 has no checkout anymore"- exit 0elif [[ ("$1" == "webkit") || ("$1" == "webkit/") || ("$1" == "wk") ]]; thenFRIENDLY_CHECKOUT_PATH="//browser_patches/webkit/checkout";CHECKOUT_PATH="$PWD/webkit/checkout"