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 WebKit build on MacOS 12 (#13907)
Andrey Lushnikov0901588ed24f
diff --git a/browser_patches/prepare_checkout.sh b/browser_patches/prepare_checkout.shindex 8926b33273..8d561f2a9f 100755--- a/browser_patches/prepare_checkout.sh+++ b/browser_patches/prepare_checkout.sh@@ -238,9 +238,11 @@ if [[ ! -z "${WEBKIT_EXTRA_FOLDER_PATH}" ]]; thenecho "-- adding WebKit embedders"EMBEDDER_DIR="$PWD/Tools/Playwright"# git status does not show empty directories, check it separately.+ # XCode 13 and WebKit build on MacOS 12 now create empty folder here:+ # ./Tools/Playwright/Playwright.xcodeproj/project.xcworkspace/xcshareddata/swiftpm+ # As an easy work-around, let's remove it.if [[ -d $EMBEDDER_DIR ]]; then- echo "ERROR: $EMBEDDER_DIR already exists! Remove it and re-run the script."- exit 1+ rm -rf "$EMBEDDER_DIR"ficp -r "${WEBKIT_EXTRA_FOLDER_PATH}" "$EMBEDDER_DIR"git add "$EMBEDDER_DIR"@@ -248,9 +250,9 @@ elif [[ ! -z "${FIREFOX_EXTRA_FOLDER_PATH}" ]]; thenecho "-- adding juggler"EMBEDDER_DIR="$PWD/juggler"# git status does not show empty directories, check it separately.+ # Remove for good if its empty but exists.if [[ -d $EMBEDDER_DIR ]]; then- echo "ERROR: $EMBEDDER_DIR already exists! Remove it and re-run the script."- exit 1+ rm -rf "$EMBEDDER_DIR"ficp -r "${FIREFOX_EXTRA_FOLDER_PATH}" "$EMBEDDER_DIR"git add "$EMBEDDER_DIR"