mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2024-11-28 10:17:49 +03:00
wait for modals to open
This commit is contained in:
parent
078912a2e1
commit
657cc5d21f
@ -33,9 +33,11 @@ PercyScript.run(async (page, percySnapshot) => {
|
||||
await page.waitFor('.Modals')
|
||||
await percySnapshot('Modals')
|
||||
await page.click('#launch-info-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.waitFor('[role="dialog"]')
|
||||
await percySnapshot('Full Warning Modal')
|
||||
await page.click('[aria-label="Close modal"]')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user