Update bluewallet2.spec.js

This commit is contained in:
Marcos Rodriguez Vélez 2024-09-13 20:34:55 -04:00 committed by GitHub
parent cc73a301b0
commit fdf3519a33
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -505,17 +505,13 @@ describe('BlueWallet UI Tests - import BIP84 wallet', () => {
// rename test
await element(by.id('WalletNameInput')).replaceText('testname\n');
await element(by.id('Save')).tap();
await sup('OK');
await element(by.text('OK')).tap();
await device.pressBack();
await expect(element(by.id('WalletLabel'))).toHaveText('testname');
await element(by.id('WalletDetails')).tap();
// rename back
await element(by.id('WalletNameInput')).replaceText('Imported HD SegWit (BIP84 Bech32 Native)\n');
await element(by.id('Save')).tap();
await sup('OK');
await element(by.text('OK')).tap();
await device.pressBack();
await expect(element(by.id('WalletLabel'))).toHaveText('Imported HD SegWit (BIP84 Bech32 Native)');
await element(by.id('WalletDetails')).tap();