describe('smoke', () => { beforeEach(async () => { await device.launchApp({ newInstance: true }); }); it('opens Home from the primary action', async () => { await expect(element(by.id('HOME.SCREEN'))).toBeVisible(); await element(by.id('HOME.OPEN_BUTTON')).tap(); await expect(element(by.id('HOME.RESULT_TEXT'))).toBeVisible(); }); });