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 chromium checkout (#10288)
Andrey Lushnikovbc1ed831b20b
diff --git a/browser_patches/chromium/build.sh b/browser_patches/chromium/build.shindex 5c5434b04e..d7e41b5e71 100755--- a/browser_patches/chromium/build.sh+++ b/browser_patches/chromium/build.sh@@ -46,7 +46,7 @@ compile_chromium() {# As of Jan, 2021 Chromium mac compilation requires Xcode12.2selectXcodeVersionOrDie "12.2"# As of Jan, 2021 Chromium mac compilation is only possible on Intel macbooks.- # See https://chromium.googlesource.com/chromium/src.git/+/master/docs/mac_arm64.md+ # See https://chromium.googlesource.com/chromium/src.git/+/main/docs/mac_arm64.mdif [[ $1 == "--compile-mac-arm64" && $(uname -m) != "x86_64" ]]; thenecho "ERROR: chromium mac arm64 compilation is (ironically) only supported on Intel Macbooks"exit 1diff --git a/browser_patches/ffmpeg/build-linux.sh b/browser_patches/ffmpeg/build-linux.shindex cb79a56f2e..5514a07e7c 100644--- a/browser_patches/ffmpeg/build-linux.sh+++ b/browser_patches/ffmpeg/build-linux.sh@@ -51,7 +51,7 @@ function build_libvpx {cd libvpxgit checkout "${LIBVPX_VERSION}"# Cross-compiling libvpx according to the docs:- # - https://chromium.googlesource.com/webm/libvpx/+/master/README+ # - https://chromium.googlesource.com/webm/libvpx/+/main/README./configure --prefix="${PREFIX}" ${LIBVPX_CONFIG}make && make install}diff --git a/browser_patches/ffmpeg/build-mac.sh b/browser_patches/ffmpeg/build-mac.shindex aa301ccfc2..96c1f94d89 100755--- a/browser_patches/ffmpeg/build-mac.sh+++ b/browser_patches/ffmpeg/build-mac.sh@@ -57,7 +57,7 @@ function build_libvpx {cd libvpxgit checkout "${LIBVPX_VERSION}"# Compile libvpx according to the docs:- # - https://chromium.googlesource.com/webm/libvpx/+/master/README+ # - https://chromium.googlesource.com/webm/libvpx/+/main/README./configure --prefix="${PREFIX}" ${LIBVPX_CONFIG}make && make install}diff --git a/browser_patches/ffmpeg/crosscompile-from-linux.sh b/browser_patches/ffmpeg/crosscompile-from-linux.shindex 95b7172cb0..caa9484394 100644--- a/browser_patches/ffmpeg/crosscompile-from-linux.sh+++ b/browser_patches/ffmpeg/crosscompile-from-linux.sh@@ -78,7 +78,7 @@ function build_libvpx {cd libvpxgit checkout "${LIBVPX_VERSION}"# Cross-compiling libvpx according to the docs:- # - https://chromium.googlesource.com/webm/libvpx/+/master/README+ # - https://chromium.googlesource.com/webm/libvpx/+/main/READMElocal target=""if [[ $arch == "win64" ]]; thentarget="x86_64-win64-gcc";diff --git a/browser_patches/prepare_checkout.sh b/browser_patches/prepare_checkout.shindex 3538851212..998daaca6e 100755--- a/browser_patches/prepare_checkout.sh+++ b/browser_patches/prepare_checkout.sh@@ -44,7 +44,7 @@ function prepare_chromium_checkout {# Update Chromium checkout.#- # This is based on https://chromium.googlesource.com/chromium/src/+/master/docs/linux/build_instructions.md#get-the-code+ # This is based on https://chromium.googlesource.com/chromium/src/+/main/docs/linux/build_instructions.md#get-the-codeif [[ ! -d "${CR_CHECKOUT_PATH}" ]]; thenrm -rf "${CR_CHECKOUT_PATH}"mkdir -p "${CR_CHECKOUT_PATH}"@@ -62,8 +62,8 @@ function prepare_chromium_checkout {ficd "${CR_CHECKOUT_PATH}/src"- git checkout master- git pull origin master+ git checkout main+ git pull origin maingit checkout "${CRSHA}"gclient sync -D}