mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2024-11-19 09:50:15 +01:00
TST: fixed failing e2e (for some reason notifications service is not available anymore on cloud CI)
This commit is contained in:
parent
e7ba2cd2dc
commit
20aa6ed07d
@ -120,14 +120,18 @@ describe('BlueWallet UI Tests', () => {
|
||||
|
||||
// notifications
|
||||
// turn on notifications if available
|
||||
await element(by.id('NotificationSettings')).tap();
|
||||
// console.warn('yo');
|
||||
// await sleep(300000);
|
||||
if (await expectToBeVisible('NotificationSettings')) {
|
||||
await element(by.id('NotificationSettings')).tap();
|
||||
await element(by.id('NotificationsSwitch')).tap();
|
||||
await sup('OK');
|
||||
await element(by.text('OK')).tap();
|
||||
await element(by.id('NotificationsSwitch')).tap();
|
||||
await device.pressBack();
|
||||
await device.pressBack();
|
||||
} else {
|
||||
await device.pressBack();
|
||||
}
|
||||
|
||||
// tools
|
||||
|
Loading…
Reference in New Issue
Block a user