Skip to content

Commit a9c1d0b

Browse files
committed
added await in send-eth
1 parent c9b2281 commit a9c1d0b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/e2e/tests/send-eth.spec.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ describe('Send ETH', function () {
6868
assert.equal(inputValue, '1');
6969

7070
// Continue to next screen
71+
await driver.findClickableElement({ text: 'Next', tag: 'button' });
7172
await driver.clickElement({ text: 'Next', tag: 'button' });
7273

7374
await driver.clickElement({ text: 'Confirm', tag: 'button' });
@@ -118,6 +119,7 @@ describe('Send ETH', function () {
118119
assert.equal(inputValue, '1');
119120

120121
// Continue to next screen
122+
await driver.findClickableElement({ text: 'Next', tag: 'button' });
121123
await driver.clickElement({ text: 'Next', tag: 'button' });
122124

123125
await driver.delay(1000);
@@ -172,6 +174,7 @@ describe('Send ETH', function () {
172174
await inputAmount.fill('1');
173175

174176
// Continue to next screen
177+
await driver.findClickableElement({ text: 'Next', tag: 'button' });
175178
await driver.clickElement({ text: 'Next', tag: 'button' });
176179
await driver.clickElement({ text: 'Confirm', tag: 'button' });
177180

0 commit comments

Comments
 (0)