Skip to content

Instantly share code, notes, and snippets.

@mfrachet
Last active June 14, 2018 23:40
Show Gist options
  • Save mfrachet/429a7ca31efafc74733a37d6daf06cd0 to your computer and use it in GitHub Desktop.
Save mfrachet/429a7ca31efafc74733a37d6daf06cd0 to your computer and use it in GitHub Desktop.
detox-fill-input
describe('Handle changes on input text', () => {
it('should have...', async () => {
const itemAdder = await element(by.id('inputAdder'));
const touchableAdder = await element(by.id('touchableAdder'));
// Focus the input field
await itemAdder.tap();
await itemAdder.typeText('Item');
// expectations
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment