Fix tests

This commit is contained in:
Tessa Kelly 2020-09-08 16:13:30 -07:00
parent 686fcf0846
commit 82e4c6e63b
2 changed files with 4 additions and 3 deletions

View File

@ -12,11 +12,12 @@ PercyScript.run(async (page, percySnapshot) => {
},
'Modals': async (name, id, location) => {
await defaultProcessing(name, id, location)
await page.click('#launch-info-modal')
await page.click('#launch-modal')
await page.waitFor('[role="dialog"]')
await percySnapshot('Full Info Modal')
await page.click('[aria-label="Close modal"]')
await page.click('#launch-warning-modal')
await page.select('select', 'warning')
await page.click('#launch-modal')
await page.waitFor('[role="dialog"]')
await percySnapshot('Full Warning Modal')
await page.click('[aria-label="Close modal"]')

View File

@ -18,8 +18,8 @@
"Nri.Ui.DisclosureIndicator.V2",
"Nri.Ui.Divider.V2",
"Nri.Ui.Effects.V1",
"Nri.Ui.Fonts.V1",
"Nri.Ui.FocusTrap.V1",
"Nri.Ui.Fonts.V1",
"Nri.Ui.Heading.V2",
"Nri.Ui.Html.Attributes.V2",
"Nri.Ui.Html.V3",