Created
July 30, 2019 13:09
-
-
Save simontreny/43db58ebb300e045ceb96225cec0995f 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
describe('Example', () => { | |
beforeEach(async () => { | |
await device.reloadReactNative(); | |
}); | |
it('should have welcome text', async () => { | |
await expect(element(by.id('welcomeText'))).toBeVisible(); | |
}); | |
it('should show hello screen after tap', async () => { | |
await element(by.id('actionButton')).tap(); | |
await expect(element(by.id('welcomeText'))).toBeVisible(); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment