test(select): await alert dismiss

This commit is contained in:
Cam Wiegert
2018-10-08 11:28:43 -05:00
parent f1d241678a
commit 870a92f54b

View File

@ -17,6 +17,8 @@ it('select: basic', async () => {
compare = await page.compareScreenshot('should open gender single select'); compare = await page.compareScreenshot('should open gender single select');
expect(compare).toMatchScreenshot(); expect(compare).toMatchScreenshot();
await alert.callMethod('dismiss');
select = await page.find('#customSelect'); select = await page.find('#customSelect');
await select.click(); await select.click();