Update bluewallet.spec.js

This commit is contained in:
marcosrdz 2021-01-28 14:39:19 -05:00
parent ca082aa93a
commit 79d2c28ed8

View file

@ -518,6 +518,7 @@ describe('BlueWallet UI Tests', () => {
// we just dont show this popup
await element(by.text(`No, and don't ask me again`)).tap();
} catch (_) {}
await expect(element(by.id('BitcoinAddressQRCodeContainer'))).toBeVisible();
await expect(element(by.text('bc1qtc9zquvq7lgq87kzsgltvv4etwm9uxphfkvkay'))).toBeVisible();
await element(by.id('SetCustomAmountButton')).tap();
await element(by.id('BitcoinAmountInput')).typeText('1');
@ -525,7 +526,8 @@ describe('BlueWallet UI Tests', () => {
await element(by.id('CustomAmountSaveButton')).tap();
await expect(element(by.text('1 BTC'))).toBeVisible();
await expect(element(by.text('Test'))).toBeVisible();
await yo('BitcoinAddressQRCodeContainer');
await expect(element(by.id('BitcoinAddressQRCodeContainer'))).toBeVisible();
await expect(element(by.text('bitcoin:bc1qtc9zquvq7lgq87kzsgltvv4etwm9uxphfkvkay?amount=1&label=Test'))).toBeVisible();
await device.pressBack();