beforeEach(async () => { await device.launchApp({ newInstance: true, launchArgs: { disableAnimations: 'true' }, }); }); it('submits order', async () => { await element(by.id('submitOrder')).tap(); await expect(element(by.id('orderConfirmation'))).toBeVisible(); });