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
} = 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() => {

View File

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