diff --git a/e2e/Notifications.test.js b/e2e/Notifications.test.js index 57cdc50dcb4a27e9c3c973580f8d05f050e6d00d..9b49c7798633303a22c285505389fed8ae2f77a2 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(); }); });