Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

devops: make sure cron has necessary PATH

Andrey Lushnikovb64304ecbcf5
diff --git a/browser_patches/tools/cronjob.sh b/browser_patches/tools/cronjob.sh
index 413da3efef..287d7c7e67 100755
--- a/browser_patches/tools/cronjob.sh
+++ b/browser_patches/tools/cronjob.sh
@@ -23,6 +23,10 @@ if [[ (-z $AZ_ACCOUNT_KEY) || (-z $AZ_ACCOUNT_NAME) ]]; then
exit 1
fi
+if ! which az >/dev/null; then
+ echo "ERROR: az is not found in PATH"
+ exit 1
+fi
BROWSER_NAME=""
if [[ ("$1" == "firefox") || ("$1" == "firefox/") ]]; then