Skip to content

Commit

Permalink
WEBUI-636: increase a11y checks timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabez0r committed Jan 5, 2022
1 parent fa54935 commit aeb55b5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion plugin/a11y/test/a11y-reporter.js
Expand Up @@ -7,7 +7,7 @@ export function reportA11y(expectedViolations, expectedIncompleteViolations, set
if (_report) {
return _report;
}
browser.setTimeout({ script: 120000 });
browser.setTimeout({ script: 240000 });

setup();

Expand Down
5 changes: 3 additions & 2 deletions plugin/a11y/wdio.conf.js
Expand Up @@ -4,6 +4,7 @@ const ShadowService = require('@nuxeo/nuxeo-web-ui-ftest/wdio-shadow-plugin');

const debug = process.env.DEBUG;
const debugTimeout = 24 * 60 * 60 * 1000;
const timeout = 240000;

require('@babel/register')({
presets: [
Expand Down Expand Up @@ -139,7 +140,7 @@ exports.config = {
//
// Default timeout in milliseconds for request
// if browser driver or grid doesn't send response
connectionRetryTimeout: debug ? debugTimeout : 120000,
connectionRetryTimeout: debug ? debugTimeout : timeout,
//
// Default request retries count
connectionRetryCount: 3,
Expand Down Expand Up @@ -187,7 +188,7 @@ exports.config = {
// See the full list at http://mochajs.org/
mochaOpts: {
ui: 'bdd',
timeout: debug ? debugTimeout : 120000,
timeout: debug ? debugTimeout : timeout,
},
//
// =====
Expand Down

0 comments on commit aeb55b5

Please sign in to comment.