Skip to content

Commit

Permalink
TST: e2e improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
Overtorment committed Jun 26, 2024
1 parent 6a70c4e commit d4bf2c7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/e2e/bluewallet.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ describe('BlueWallet UI Tests - no wallets', () => {
// in case emulator has no google services and doesnt support pushes
// we just dont show this popup
await element(by.text(`No, and do not ask me again.`)).tap();
await element(by.text(`No, and do not ask me again.`)).tap(); // sometimes the first click doesnt work (detox issue, not app's)
} catch (_) {}
await yo('BitcoinAddressQRCodeContainer');
await yo('CopyTextToClipboard');
Expand Down Expand Up @@ -517,6 +518,7 @@ describe('BlueWallet UI Tests - no wallets', () => {
// in case emulator has no google services and doesnt support pushes
// we just dont show this popup
await element(by.text(`No, and do not ask me again.`)).tap();
await element(by.text(`No, and do not ask me again.`)).tap(); // sometimes the first click doesnt work (detox issue, not app's)
} catch (_) {}

await sup('bc1qmf06nt4jhvzz4387ak8fecs42k6jqygr2unumetfc7xkdup7ah9s8phlup');
Expand Down
1 change: 1 addition & 0 deletions tests/e2e/bluewallet3.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ describe('BlueWallet UI Tests - import Watch-only wallet (zpub)', () => {
// in case emulator has no google services and doesnt support pushes
// we just dont show this popup
await element(by.text(`No, and do not ask me again.`)).tap();
await element(by.text(`No, and do not ask me again.`)).tap(); // sometimes the first click doesnt work (detox issue, not app's)
} catch (_) {}
await expect(element(by.id('BitcoinAddressQRCodeContainer'))).toBeVisible();
await expect(element(by.text('bc1qc8wun6lf9vcajpddtgdpd2pdrp0kwp29j6upgv'))).toBeVisible();
Expand Down

0 comments on commit d4bf2c7

Please sign in to comment.