1describe('EJDB2', () => { 2 3 beforeEach(async () => { 4 await device.reloadReactNative(); 5 }); 6 7 it('all', async () => { 8 await new Promise((resolve) => setTimeout(resolve, 2000)); 9 await element(by.id('run')).tap(); 10 await waitFor(element(by.id('status'))).toExist().withTimeout(2000); 11 await waitFor(element(by.id('status'))).toHaveText('OK').withTimeout(20000); 12 }); 13}); 14