Last active
June 14, 2018 23:40
-
-
Save mfrachet/429a7ca31efafc74733a37d6daf06cd0 to your computer and use it in GitHub Desktop.
detox-fill-input
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
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