(privateKey)
| 24 | } |
| 25 | |
| 26 | static async enterPrivateKey(privateKey) { |
| 27 | if (device.getPlatform() === 'android') { |
| 28 | await TestHelpers.replaceTextInField( |
| 29 | PRIVATE_KEY_INPUT_BOX_ID, |
| 30 | privateKey, |
| 31 | ); |
| 32 | await element(by.id(PRIVATE_KEY_INPUT_BOX_ID)).tapReturnKey(); |
| 33 | } else { |
| 34 | await TestHelpers.typeTextAndHideKeyboard( |
| 35 | PRIVATE_KEY_INPUT_BOX_ID, |
| 36 | privateKey, |
| 37 | ); |
| 38 | } |
| 39 | } |
| 40 | |
| 41 | // Closing import success view |
| 42 | static async tapCloseButtonOnImportSuccess() { |
no test coverage detected