Skip to content

Commit

Permalink
Android end to end test changes to include that were lost revert 64 b…
Browse files Browse the repository at this point in the history
…it test change
  • Loading branch information
annakaz committed Aug 25, 2020
1 parent 9f6e19e commit adfd67d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/mobile/e2e/Transfer.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,9 @@ describe('Transfer Works', () => {
// On iOS, type one more space to workaround onChangeText not being triggered with replaceText above
// and leaving the restore button disabled
await element(by.id('ImportWalletBackupKeyInputField')).typeText(' ')
} else if (device.getPlatform() === 'android') {
// Press back button to close the keyboard
await device.pressBack()
}

await element(by.id('ImportWalletButton')).tap()
Expand Down Expand Up @@ -210,7 +213,8 @@ describe('Transfer Works', () => {
await element(by.id('Education/progressButton')).tap()
await waitFor(element(by.id('WithdrawCELO')))
.toBeVisible()
.withTimeout(10000)
.whileElement(by.id('ExchangeScrollView'))
.scroll(50, 'down')
// Go to the Withdraw Celo screen and fill the data.
await element(by.id('WithdrawCELO')).tap()
await waitFor(element(by.id('AccountAddress')))
Expand Down

0 comments on commit adfd67d

Please sign in to comment.