describe('animation mode', () => { beforeEach(async () => { await device.launchApp({ newInstance: true, launchArgs: { disableAnimations: 'true' }, }); }); it('runs with app animations disabled', async () => { await expect(element(by.id('animationMode'))) .toHaveText('Animations disabled'); await element(by.id('open-settings')).tap(); await expect(element(by.id('settings-screen'))).toBeVisible(); }); });