mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2024-11-27 03:14:25 +03:00
Fix tests
This commit is contained in:
parent
686fcf0846
commit
82e4c6e63b
@ -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"]')
|
||||
|
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user