fix(test): avoid more race conditions

This commit is contained in:
Liam DeBeasi
2019-06-12 12:16:52 -04:00
parent b85b7c6b9d
commit 36fd78281c
3 changed files with 5 additions and 2 deletions

View File

@@ -9,6 +9,7 @@ test('datetime: basic', async () => {
expect(compare).toMatchScreenshot();
const datetime = await page.find('#customPickerOptions');
await datetime.waitForVisible();
await datetime.click();
const picker = await page.find('ion-picker');