This commit is contained in:
Anant Bhasin 2021-07-25 03:10:57 +05:30
parent 5fc9872f9e
commit 76bf7ac571
2 changed files with 0 additions and 5 deletions

View File

@ -2,7 +2,6 @@ const {
navigateToLogin, login, mockMessage, tapBack, searchRoom navigateToLogin, login, mockMessage, tapBack, searchRoom
} = require('../../helpers/app'); } = require('../../helpers/app');
const data = require('../../data'); const data = require('../../data');
const platformTypes = require('../../helpers/platformTypes');
const channel = data.groups.private.name; const channel = data.groups.private.name;
@ -13,13 +12,10 @@ const navigateToRoom = async() => {
}; };
describe('Discussion', () => { describe('Discussion', () => {
let scrollViewType;
before(async() => { before(async() => {
await device.launchApp({ permissions: { notifications: 'YES' }, newInstance: true, delete: true }); await device.launchApp({ permissions: { notifications: 'YES' }, newInstance: true, delete: true });
await navigateToLogin(); await navigateToLogin();
await login(data.users.regular.username, data.users.regular.password); await login(data.users.regular.username, data.users.regular.password);
({ scrollViewType } = platformTypes[device.getPlatform()]);
}); });
it('should create discussion from NewMessageView', async() => { it('should create discussion from NewMessageView', async() => {

View File

@ -36,7 +36,6 @@ async function waitForLoading() {
} }
describe('Room', () => { describe('Room', () => {
before(async() => { before(async() => {
await device.launchApp({ permissions: { notifications: 'YES' }, delete: true }); await device.launchApp({ permissions: { notifications: 'YES' }, delete: true });
await navigateToLogin(); await navigateToLogin();