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
chore: bail out stable installation when running on Linux Arm64 (#9991)
Andrey Lushnikov3e96dcd82a7c
diff --git a/packages/playwright-core/bin/reinstall_chrome_beta_linux.sh b/packages/playwright-core/bin/reinstall_chrome_beta_linux.shindex 0d7db06315..df57dc7dde 100755--- a/packages/playwright-core/bin/reinstall_chrome_beta_linux.sh+++ b/packages/playwright-core/bin/reinstall_chrome_beta_linux.sh@@ -2,6 +2,11 @@set -eset -x+if [[ $(arch) == "aarch64" ]]; then+ echo "ERROR: not supported on Linux Arm64"+ exit 1+fi+is_user_root () { [ "${EUID:-$(id -u)}" -eq 0 ]; }if is_user_root; thenmaybesudo=""diff --git a/packages/playwright-core/bin/reinstall_chrome_stable_linux.sh b/packages/playwright-core/bin/reinstall_chrome_stable_linux.shindex 6789a062b1..566c56033f 100755--- a/packages/playwright-core/bin/reinstall_chrome_stable_linux.sh+++ b/packages/playwright-core/bin/reinstall_chrome_stable_linux.sh@@ -2,6 +2,11 @@set -eset -x+if [[ $(arch) == "aarch64" ]]; then+ echo "ERROR: not supported on Linux Arm64"+ exit 1+fi+is_user_root () { [ "${EUID:-$(id -u)}" -eq 0 ]; }if is_user_root; thenmaybesudo=""diff --git a/packages/playwright-core/bin/reinstall_msedge_beta_linux.sh b/packages/playwright-core/bin/reinstall_msedge_beta_linux.shindex a112158cfa..e41e96c350 100755--- a/packages/playwright-core/bin/reinstall_msedge_beta_linux.sh+++ b/packages/playwright-core/bin/reinstall_msedge_beta_linux.sh@@ -3,6 +3,11 @@set -eset -x+if [[ $(arch) == "aarch64" ]]; then+ echo "ERROR: not supported on Linux Arm64"+ exit 1+fi+is_user_root () { [ "${EUID:-$(id -u)}" -eq 0 ]; }if is_user_root; thenmaybesudo=""diff --git a/packages/playwright-core/bin/reinstall_msedge_dev_linux.sh b/packages/playwright-core/bin/reinstall_msedge_dev_linux.shindex 5cdbf9c41b..d201154884 100755--- a/packages/playwright-core/bin/reinstall_msedge_dev_linux.sh+++ b/packages/playwright-core/bin/reinstall_msedge_dev_linux.sh@@ -3,6 +3,11 @@set -eset -x+if [[ $(arch) == "aarch64" ]]; then+ echo "ERROR: not supported on Linux Arm64"+ exit 1+fi+is_user_root () { [ "${EUID:-$(id -u)}" -eq 0 ]; }if is_user_root; thenmaybesudo=""diff --git a/packages/playwright-core/bin/reinstall_msedge_stable_linux.sh b/packages/playwright-core/bin/reinstall_msedge_stable_linux.shindex dc52fd79fb..19628cac8b 100755--- a/packages/playwright-core/bin/reinstall_msedge_stable_linux.sh+++ b/packages/playwright-core/bin/reinstall_msedge_stable_linux.sh@@ -3,6 +3,11 @@set -eset -x+if [[ $(arch) == "aarch64" ]]; then+ echo "ERROR: not supported on Linux Arm64"+ exit 1+fi+is_user_root () { [ "${EUID:-$(id -u)}" -eq 0 ]; }if is_user_root; thenmaybesudo=""