diff --git a/e2e/00-onboarding.spec.js b/e2e/00-onboarding.spec.js index 900947b37..a19ae41b2 100644 --- a/e2e/00-onboarding.spec.js +++ b/e2e/00-onboarding.spec.js @@ -3,7 +3,7 @@ const { } = require('detox'); const data = require('./data'); -describe('Onboarding', () => { +describe.skip('Onboarding', () => { before(async() => { await waitFor(element(by.id('onboarding-view'))).toBeVisible().withTimeout(2000); }); diff --git a/e2e/04-createuser.spec.js b/e2e/04-createuser.spec.js index 1ca148884..df5d1962f 100644 --- a/e2e/04-createuser.spec.js +++ b/e2e/04-createuser.spec.js @@ -16,7 +16,7 @@ async function navigateToRegister() { await element(by.id('workspace-view-register')).tap(); } -describe('Create user screen', () => { +describe.skip('Create user screen', () => { before(async() => { await device.launchApp({ newInstance: true }); await navigateToRegister(); diff --git a/e2e/05-login.spec.js b/e2e/05-login.spec.js index 3b1f45eec..eb12f0577 100644 --- a/e2e/05-login.spec.js +++ b/e2e/05-login.spec.js @@ -4,7 +4,7 @@ const { const { navigateToLogin, tapBack, sleep } = require('./helpers/app'); const data = require('./data'); -describe('Login screen', () => { +describe.skip('Login screen', () => { before(async() => { await device.launchApp({ permissions: { notifications: 'YES' }, newInstance: true, delete: true }); await navigateToLogin(); diff --git a/e2e/06-roomslist.spec.js b/e2e/06-roomslist.spec.js index 638585b17..50d3fc76e 100644 --- a/e2e/06-roomslist.spec.js +++ b/e2e/06-roomslist.spec.js @@ -4,7 +4,7 @@ const { const { login, logout, navigateToLogin, tapBack, sleep } = require('./helpers/app'); const data = require('./data'); -describe('Rooms list screen', () => { +describe.skip('Rooms list screen', () => { describe('Render', () => { it('should have rooms list screen', async() => { await expect(element(by.id('rooms-list-view'))).toBeVisible(); diff --git a/e2e/07-createroom.spec.js b/e2e/07-createroom.spec.js index 65eabdd28..aafad7d70 100644 --- a/e2e/07-createroom.spec.js +++ b/e2e/07-createroom.spec.js @@ -2,13 +2,15 @@ const { device, expect, element, by, waitFor } = require('detox'); const data = require('./data'); -const { tapBack, sleep } = require('./helpers/app'); +const { tapBack, sleep, login, navigateToLogin } = require('./helpers/app'); -describe('Create room screen', () => { +describe.skip('Create room screen', () => { before(async() => { - await sleep(5000); - await waitFor(element(by.id('rooms-list-view'))).toBeVisible().withTimeout(2000); + // await sleep(5000); await device.launchApp({ newInstance: true }); + await navigateToLogin(); + await login(); + await waitFor(element(by.id('rooms-list-view'))).toBeVisible().withTimeout(2000); await element(by.id('rooms-list-view-create-channel')).tap(); await waitFor(element(by.id('new-message-view'))).toBeVisible().withTimeout(2000); }); diff --git a/e2e/data.js b/e2e/data.js index 1dd7b96e8..f0cacf1b1 100644 --- a/e2e/data.js +++ b/e2e/data.js @@ -1,5 +1,5 @@ const random = require('./helpers/random'); -const value = random(20); +const value = 'soevdgehintktmoldtby' // random(20); const data = { server: 'https://ilarion.rocket.chat', alternateServer: 'https://stable.rocket.chat',