diff --git a/e2e/tests/room/04-discussion.spec.js b/e2e/tests/room/04-discussion.spec.js index a4d718316..72c5610b7 100644 --- a/e2e/tests/room/04-discussion.spec.js +++ b/e2e/tests/room/04-discussion.spec.js @@ -2,7 +2,6 @@ const { navigateToLogin, login, mockMessage, tapBack, searchRoom } = require('../../helpers/app'); const data = require('../../data'); -const platformTypes = require('../../helpers/platformTypes'); const channel = data.groups.private.name; @@ -13,13 +12,10 @@ const navigateToRoom = async() => { }; describe('Discussion', () => { - let scrollViewType; - before(async() => { await device.launchApp({ permissions: { notifications: 'YES' }, newInstance: true, delete: true }); await navigateToLogin(); await login(data.users.regular.username, data.users.regular.password); - ({ scrollViewType } = platformTypes[device.getPlatform()]); }); it('should create discussion from NewMessageView', async() => { diff --git a/e2e/tests/room/09-jumptomessage.spec.js b/e2e/tests/room/09-jumptomessage.spec.js index 98ff055ee..db0d8fa24 100644 --- a/e2e/tests/room/09-jumptomessage.spec.js +++ b/e2e/tests/room/09-jumptomessage.spec.js @@ -36,7 +36,6 @@ async function waitForLoading() { } describe('Room', () => { - before(async() => { await device.launchApp({ permissions: { notifications: 'YES' }, delete: true }); await navigateToLogin();