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: support browser aliases in `export.sh` and `prepare_checkout.sh` (#1520)
Andrey Lushnikov231c878719eb
diff --git a/browser_patches/export.sh b/browser_patches/export.shindex dc56d0fbfa..0f0b20fa67 100755--- a/browser_patches/export.sh+++ b/browser_patches/export.sh@@ -37,12 +37,12 @@ fiFRIENDLY_CHECKOUT_PATH="";CHECKOUT_PATH=""EXPORT_PATH=""-if [[ ("$1" == "firefox") || ("$1" == "firefox/") ]]; then+if [[ ("$1" == "firefox") || ("$1" == "firefox/") || ("$1" == "ff") ]]; thenFRIENDLY_CHECKOUT_PATH="//browser_patches/firefox/checkout";CHECKOUT_PATH="$PWD/firefox/checkout"EXPORT_PATH="$PWD/firefox/"source "./firefox/UPSTREAM_CONFIG.sh"-elif [[ ("$1" == "webkit") || ("$1" == "webkit/") ]]; then+elif [[ ("$1" == "webkit") || ("$1" == "webkit/") || ("$1" == "wk") ]]; thenFRIENDLY_CHECKOUT_PATH="//browser_patches/webkit/checkout";CHECKOUT_PATH="$PWD/webkit/checkout"EXPORT_PATH="$PWD/webkit/"diff --git a/browser_patches/prepare_checkout.sh b/browser_patches/prepare_checkout.shindex 16159225f4..68e150d773 100755--- a/browser_patches/prepare_checkout.sh+++ b/browser_patches/prepare_checkout.sh@@ -31,13 +31,13 @@ FRIENDLY_CHECKOUT_PATH="";CHECKOUT_PATH=""PATCHES_PATH=""BUILD_NUMBER=""-if [[ ("$1" == "firefox") || ("$1" == "firefox/") ]]; then+if [[ ("$1" == "firefox") || ("$1" == "firefox/") || ("$1" == "ff") ]]; thenFRIENDLY_CHECKOUT_PATH="//browser_patches/firefox/checkout";CHECKOUT_PATH="$PWD/firefox/checkout"PATCHES_PATH="$PWD/firefox/patches"BUILD_NUMBER=$(cat "$PWD/firefox/BUILD_NUMBER")source "./firefox/UPSTREAM_CONFIG.sh"-elif [[ ("$1" == "webkit") || ("$1" == "webkit/") ]]; then+elif [[ ("$1" == "webkit") || ("$1" == "webkit/") || ("$1" == "wk") ]]; thenFRIENDLY_CHECKOUT_PATH="//browser_patches/webkit/checkout";CHECKOUT_PATH="$PWD/webkit/checkout"PATCHES_PATH="$PWD/webkit/patches"