From 08076923f69c56240b441ead10ab63be6c9bae99 Mon Sep 17 00:00:00 2001 From: yogevbd Date: Tue, 30 Jul 2019 22:27:25 +0300 Subject: [PATCH] Fix tests --- e2e/Notifications.test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/e2e/Notifications.test.js b/e2e/Notifications.test.js index 57cdc50..9b49c77 100644 --- a/e2e/Notifications.test.js +++ b/e2e/Notifications.test.js @@ -20,9 +20,9 @@ describe('Notifications', () => { describe('Background', () => { it('Receive notification', async () => { - device.sendToHome(); + await device.sendToHome(); await expect(elementByLabel('background/notification')).toBeNotVisible(); - device.launchApp({newInstance: false, userNotification: createNotification({link: 'background/notification'})}); + await device.launchApp({newInstance: false, userNotification: createNotification({link: 'background/notification'})}); await expect(elementByLabel('background/notification')).toBeVisible(); }); }); -- 2.26.2