mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2024-09-19 03:09:11 +03:00
Adds a teeny timeout to account for elm re render
This commit is contained in:
parent
20893bd8ec
commit
f480aef1a4
5249
package-lock.json
generated
5249
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
16
package.json
16
package.json
@ -26,18 +26,18 @@
|
||||
},
|
||||
"homepage": "https://github.com/NoRedInk/NoRedInk-ui#readme",
|
||||
"devDependencies": {
|
||||
"@percy/cli": "^1.0.0-beta.73",
|
||||
"@percy/puppeteer": "^2.0.0",
|
||||
"@percy/cli": "^1.4.0",
|
||||
"@percy/puppeteer": "^2.0.2",
|
||||
"prettier": "^2.7.1",
|
||||
"puppeteer": "^15.1.1",
|
||||
"browserify": "16.2.3",
|
||||
"prettier": "^2.6.2",
|
||||
"puppeteer": "^3.3.0",
|
||||
"request": "^2.88.0"
|
||||
"request": "^2.88.2"
|
||||
},
|
||||
"dependencies": {
|
||||
"@axe-core/puppeteer": "^4.4.2",
|
||||
"@axe-core/puppeteer": "^4.4.3",
|
||||
"axe-core": "3.5.6",
|
||||
"expect": "^27.4.6",
|
||||
"expect": "^27.5.1",
|
||||
"http-server": "^14.1.1",
|
||||
"mocha": "^9.2.0"
|
||||
"mocha": "^9.2.2"
|
||||
}
|
||||
}
|
||||
|
@ -80,6 +80,7 @@ describe("UI tests", function () {
|
||||
for (const optionEl of options) {
|
||||
const option = await page.evaluate((el) => el.innerText, optionEl);
|
||||
select.select(option);
|
||||
await page.waitForTimeout(1);
|
||||
|
||||
await percySnapshot(page, `${name} - ${option}`);
|
||||
axe = await new AxePuppeteer(page)
|
||||
|
Loading…
Reference in New Issue
Block a user