Update bluewallet2.spec.js

This commit is contained in:
Marcos Rodriguez Velez 2024-09-14 13:53:27 -04:00
parent 796a4a09f9
commit 4aebe86684

View file

@ -506,12 +506,14 @@ describe('BlueWallet UI Tests - import BIP84 wallet', () => {
// rename test
await element(by.id('WalletNameInput')).replaceText('testname\n');
await device.pressBack();
await sup('testname');
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 device.pressBack();
await sup('Imported HD SegWit (BIP84 Bech32 Native)');
await expect(element(by.id('WalletLabel'))).toHaveText('Imported HD SegWit (BIP84 Bech32 Native)');
await element(by.id('WalletDetails')).tap();