mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2024-12-25 14:42:37 +03:00
Adjust the timeout depending on whether percy is running or not
This commit is contained in:
parent
a027415740
commit
379bbb2f02
@ -1,3 +1,3 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
npx mocha script/puppeteer-tests.js --exit
|
||||
npx mocha script/puppeteer-tests.js --timeout 15000 --exit
|
@ -1,3 +1,3 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
npx percy exec -- mocha script/puppeteer-tests.js --exit
|
||||
npx percy exec -- mocha script/puppeteer-tests.js --timeout 50000 --exit
|
||||
|
@ -12,7 +12,6 @@ const { AxePuppeteer } = require('@axe-core/puppeteer');
|
||||
const assert = require('assert');
|
||||
|
||||
describe('UI tests', function () {
|
||||
this.timeout(30000);
|
||||
let page;
|
||||
let server;
|
||||
let browser;
|
||||
|
Loading…
Reference in New Issue
Block a user