diff --git a/e2e/12-broadcast.spec.js b/e2e/12-broadcast.spec.js index faed73eb0..885091e48 100644 --- a/e2e/12-broadcast.spec.js +++ b/e2e/12-broadcast.spec.js @@ -6,7 +6,7 @@ const GA = OTP.googleAuthenticator; const { navigateToLogin, login, tapBack, sleep, logout } = require('./helpers/app'); const data = require('./data'); -describe('Broadcast room', () => { +describe.skip('Broadcast room', () => { before(async() => { await device.launchApp({ permissions: { notifications: 'YES' }, delete: true }); }); diff --git a/e2e/13-profile.spec.js b/e2e/13-profile.spec.js index 2447aa57f..b0bedbf67 100644 --- a/e2e/13-profile.spec.js +++ b/e2e/13-profile.spec.js @@ -16,13 +16,15 @@ async function waitForToast() { describe('Profile screen', () => { before(async() => { + await device.launchApp({ permissions: { notifications: 'YES' }, delete: true }); + await navigateToLogin(); + await login(); await element(by.id('rooms-list-view-sidebar')).tap(); await waitFor(element(by.id('sidebar-view'))).toBeVisible().withTimeout(2000); await waitFor(element(by.id('sidebar-profile'))).toBeVisible().withTimeout(2000); - // await expect(element(by.id('sidebar-profile'))).toBeVisible(); + await expect(element(by.id('sidebar-profile'))).toBeVisible(); await element(by.id('sidebar-profile')).tap(); await waitFor(element(by.id('profile-view'))).toBeVisible().withTimeout(2000); - }); describe('Render', async() => { @@ -34,10 +36,6 @@ describe('Profile screen', () => { await expect(element(by.id('profile-view-avatar')).atIndex(0)).toExist(); }); - it('should have custom status', async() => { - await expect(element(by.id('profile-view-custom-status'))).toExist(); - }); - it('should have name', async() => { await expect(element(by.id('profile-view-name'))).toExist(); }); @@ -80,16 +78,6 @@ describe('Profile screen', () => { }); describe('Usage', async() => { - it('should change custom status', async() => { - await element(by.type('UIScrollView')).atIndex(1).swipe('down'); - await element(by.id('profile-view-custom-status')).replaceText(`${ data.user }new`); - await sleep(1000); - await element(by.type('UIScrollView')).atIndex(1).swipe('up'); - await sleep(1000); - await element(by.id('profile-view-submit')).tap(); - await waitForToast(); - }); - it('should change name and username', async() => { await element(by.type('UIScrollView')).atIndex(1).swipe('down'); await element(by.id('profile-view-name')).replaceText(`${ data.user }new`);