Commit 08076923 authored by yogevbd's avatar yogevbd

Fix tests

parent 1df2efa2
......@@ -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();
});
});
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment