Skip to content

Commit

Permalink
fix(dev): timeouts in test scripts [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
danielweck committed Dec 16, 2024
1 parent 1514f87 commit e6f93a8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
10 changes: 6 additions & 4 deletions scripts/compareAxeRunners.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,15 @@ echo "ElectronAxeRunner ..."
#node ./packages/ace-axe-runner-electron/bin/ace.js
#node ./packages/ace/bin/ace-electron.js

# ACE_TIMEOUT_INITIAL=10000 ACE_TIMEOUT_EXTENSION=480000
ACE_TIMEOUT_INITIAL=5000 ACE_TIMEOUT_EXTENSION=5000 ACE_PERF=1 node ./packages/ace/bin/ace-electron.js -f -s -o ./CompareAxeRunners/ElectronAxeRunner "$1"
# defaults: ACE_TIMEOUT_INITIAL=10000 ACE_TIMEOUT_EXTENSION=480000
# ACE_TIMEOUT_INITIAL=4000 ACE_TIMEOUT_EXTENSION=150000
ACE_PERF=1 node ./packages/ace/bin/ace-electron.js -f -s -o ./CompareAxeRunners/ElectronAxeRunner "$1"

echo "PuppeteerAxeRunner ..."

# ACE_TIMEOUT_INITIAL=10000 ACE_TIMEOUT_EXTENSION=480000
ACE_TIMEOUT_INITIAL=5000 ACE_TIMEOUT_EXTENSION=5000 ACE_PERF=1 node ./packages/ace-cli/bin/ace.js -f -s -o ./CompareAxeRunners/PuppeteerAxeRunner "$1"
# defaults: ACE_TIMEOUT_INITIAL=10000 ACE_TIMEOUT_EXTENSION=480000
# ACE_TIMEOUT_INITIAL=4000 ACE_TIMEOUT_EXTENSION=150000
ACE_PERF=1 node ./packages/ace-cli/bin/ace.js -f -s -o ./CompareAxeRunners/PuppeteerAxeRunner "$1"

node ./scripts/normalise_report_json.js ./CompareAxeRunners/PuppeteerAxeRunner/report.json
node ./scripts/normalise_report_json.js ./CompareAxeRunners/ElectronAxeRunner/report.json
Expand Down
6 changes: 4 additions & 2 deletions scripts/compareAxeRunners_VERBOSE.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,14 @@ echo "ElectronAxeRunner ..."
#node ./packages/ace/bin/ace-electron.js

# defaults: ACE_TIMEOUT_INITIAL=10000 ACE_TIMEOUT_EXTENSION=480000
# ACE_TIMEOUT_INITIAL=4000 ACE_TIMEOUT_EXTENSION=150000 ACE_PERF=1 node ./packages/ace/bin/ace-electron.js -l en -f -V -o ./CompareAxeRunners/ElectronAxeRunner "$1"
# ACE_TIMEOUT_INITIAL=4000 ACE_TIMEOUT_EXTENSION=150000
ACE_PERF=1 node ./packages/ace/bin/ace-electron.js -l en -f -V -o ./CompareAxeRunners/ElectronAxeRunner "$1"

echo "PuppeteerAxeRunner ..."

# defaults: ACE_TIMEOUT_INITIAL=10000 ACE_TIMEOUT_EXTENSION=480000
ACE_TIMEOUT_INITIAL=4000 ACE_TIMEOUT_EXTENSION=150000 ACE_PERF=1 node ./packages/ace-cli/bin/ace.js -l en -f -V -o ./CompareAxeRunners/PuppeteerAxeRunner "$1"
# ACE_TIMEOUT_INITIAL=4000 ACE_TIMEOUT_EXTENSION=150000
ACE_PERF=1 node ./packages/ace-cli/bin/ace.js -l en -f -V -o ./CompareAxeRunners/PuppeteerAxeRunner "$1"

node ./scripts/normalise_report_json.js ./CompareAxeRunners/PuppeteerAxeRunner/report.json
node ./scripts/normalise_report_json.js ./CompareAxeRunners/ElectronAxeRunner/report.json
Expand Down

0 comments on commit e6f93a8

Please sign in to comment.