diff options
Diffstat (limited to 'e2e/firstTest.spec.js')
-rw-r--r-- | e2e/firstTest.spec.js | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/e2e/firstTest.spec.js b/e2e/firstTest.spec.js index a407fd3..91729fb 100644 --- a/e2e/firstTest.spec.js +++ b/e2e/firstTest.spec.js @@ -1,19 +1,19 @@ // For more info on how to write Detox tests, see the official docs: // https://github.com/wix/Detox/blob/master/docs/README.md -const { reloadApp } = require("./reload") +const { reloadApp } = require('./reload') -describe("Example", () => { +describe('Example', () => { beforeEach(async () => { await reloadApp() }) - it("should have welcome screen", async () => { - await expect(element(by.id("WelcomeScreen"))).toBeVisible() + it('should have welcome screen', async () => { + await expect(element(by.id('WelcomeScreen'))).toBeVisible() }) - it("should go to next screen after tap", async () => { - await element(by.id("next-screen-button")).tap() - await expect(element(by.id("DemoScreen"))).toBeVisible() + it('should go to next screen after tap', async () => { + await element(by.id('next-screen-button')).tap() + await expect(element(by.id('DemoScreen'))).toBeVisible() }) }) |