Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WEBUI-636: increase a11y checks timeout #1360

Merged
merged 1 commit into from Jan 5, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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