Skip to content

Instantly share code, notes, and snippets.

@hyperh
Created September 12, 2017 03:01
Show Gist options
  • Save hyperh/8a6d79e333d0e1d0a8b317f45b2d7c11 to your computer and use it in GitHub Desktop.
Save hyperh/8a6d79e333d0e1d0a8b317f45b2d7c11 to your computer and use it in GitHub Desktop.
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