Skip to content

Commit ea0bbaf

Browse files
committed
use enterAddress on boost_2
1 parent 6a0eca7 commit ea0bbaf

File tree

1 file changed

+2
-14
lines changed

1 file changed

+2
-14
lines changed

test/specs/boost.e2e.ts

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ import {
66
tap,
77
elementById,
88
receiveOnchainFunds,
9-
typeText,
10-
confirmInputOnKeyboard,
119
expectText,
1210
dragOnElement,
1311
swipeFullScreen,
@@ -19,6 +17,7 @@ import {
1917
getSeed,
2018
waitForBackup,
2119
restoreWallet,
20+
enterAddress,
2221
} from '../helpers/actions';
2322
import { bitcoinURL } from '../helpers/constants';
2423
import initElectrum from '../helpers/electrum';
@@ -145,18 +144,7 @@ describe('@boost - Boost', () => {
145144

146145
// Send 10 000
147146
const coreAddress = await rpc.getNewAddress();
148-
await tap('Send');
149-
await sleep(1000);
150-
try {
151-
await tap('RecipientManual');
152-
await elementById('RecipientInput').waitForDisplayed();
153-
} catch {
154-
console.warn('RecipientInput not found, trying again');
155-
await tap('RecipientManual');
156-
}
157-
await typeText('RecipientInput', coreAddress);
158-
await confirmInputOnKeyboard();
159-
await tap('AddressContinue');
147+
await enterAddress(coreAddress);
160148
await tap('N1');
161149
await tap('N0');
162150
await tap('N000');

0 commit comments

Comments
 (0)