Created
September 12, 2017 03:01
-
-
Save hyperh/8a6d79e333d0e1d0a8b317f45b2d7c11 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
test('appium text input', async () => { | |
const TEXT = 'hello this is appium'; | |
await driver.elementByAccessibilityId('textinput') | |
.type(TEXT); | |
const resultText = await driver.elementByAccessibilityId('text').text(); | |
expect(resultText).toBe(TEXT) | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment