TST: fixes e2e because of absent pushes on emulator

This commit is contained in:
Overtorment 2021-01-27 13:57:07 +00:00
parent 2448a15cac
commit b93713d817

View file

@ -47,7 +47,11 @@ describe('BlueWallet UI Tests', () => {
await element(by.id('cr34t3d')).tap();
await element(by.id('ReceiveButton')).tap();
await element(by.text('Yes, I have')).tap();
await element(by.text(`No, and don't ask me again`)).tap();
try {
// in case emulator has no google services and doesnt support pushes
// we just dont show this popup
await element(by.text(`No, and don't ask me again`)).tap();
} catch (_) {}
await yo('BitcoinAddressQRCodeContainer');
await yo('BlueCopyTextToClipboard');
await element(by.id('SetCustomAmountButton')).tap();