From 6c84e051501073ed4247e9c0e5d726ef44ae00f9 Mon Sep 17 00:00:00 2001 From: IsraelleHub <145595240+IsraelleHub@users.noreply.github.com> Date: Wed, 31 Jul 2024 13:24:45 -0500 Subject: [PATCH] Increase timeout to 5 min --- .github/workflows/documentation_accessibility_checks.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/documentation_accessibility_checks.yml b/.github/workflows/documentation_accessibility_checks.yml index 37adf64c2b2..2e6f472f569 100644 --- a/.github/workflows/documentation_accessibility_checks.yml +++ b/.github/workflows/documentation_accessibility_checks.yml @@ -58,14 +58,14 @@ jobs: # Extract URLs from sitemap and iterate for url in $(grep -o '[^<]*' "$sitemap_path" | sed 's///'); do - if axe "$url" --chromedriver-path $(npm root -g)/chromedriver/bin/chromedriver --timeout=30000 --exit; then + if axe "$url" --chromedriver-path $(npm root -g)/chromedriver/bin/chromedriver --timeout=300000 --exit; then echo "No accessibility issues found in $url" else echo "Accessibility issues found in $url" echo "$url" >> accessibility_issues.txt # Extract number of issues from axe output - issues=$(axe "$url" --chromedriver-path $(npm root -g)/chromedriver/bin/chromedriver --timeout=30000 | grep -oP '\d+ Accessibility issues detected' | grep -oP '\d+') + issues=$(axe "$url" --chromedriver-path $(npm root -g)/chromedriver/bin/chromedriver --timeout=300000 | grep -oP '\d+ Accessibility issues detected' | grep -oP '\d+') if [ -n "$issues" ]; then num_issues=$((num_issues + issues)) fi