Update bluewallet2.spec.js

This commit is contained in:
Marcos Rodriguez Vélez 2024-09-14 15:22:17 -04:00 committed by GitHub
parent 4aebe86684
commit 32225f9e85
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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