From 73dc72357cf57746e4a1dcc063341e00c799d4e8 Mon Sep 17 00:00:00 2001 From: Anant Bhasin Date: Wed, 4 Aug 2021 16:02:44 +0530 Subject: [PATCH] Lint fix --- e2e/tests/room/02-room.spec.js | 4 ++-- e2e/tests/room/03-roomactions.spec.js | 2 +- e2e/tests/team/01-createteam.spec.js | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/e2e/tests/room/02-room.spec.js b/e2e/tests/room/02-room.spec.js index b524deb03..41df8452f 100644 --- a/e2e/tests/room/02-room.spec.js +++ b/e2e/tests/room/02-room.spec.js @@ -241,7 +241,7 @@ describe('Room screen', () => { }); it('should edit message', async() => { - if(device.getPlatform() === 'android') { + if (device.getPlatform() === 'android') { return; // Failing on android } await mockMessage('edit'); @@ -269,7 +269,7 @@ describe('Room screen', () => { }); it('should pin message', async() => { - if(device.getPlatform() === 'android') { + if (device.getPlatform() === 'android') { return; // Failing on android } await mockMessage('pin'); diff --git a/e2e/tests/room/03-roomactions.spec.js b/e2e/tests/room/03-roomactions.spec.js index a9687d141..942fabd1d 100644 --- a/e2e/tests/room/03-roomactions.spec.js +++ b/e2e/tests/room/03-roomactions.spec.js @@ -231,7 +231,7 @@ describe('Room actions screen', () => { }); it('should show pinned message and unpin it', async() => { - if(device.getPlatform() === 'android') { + if (device.getPlatform() === 'android') { return; // Failing on android } // Go back to room and send a message diff --git a/e2e/tests/team/01-createteam.spec.js b/e2e/tests/team/01-createteam.spec.js index af9a9861d..c999ef649 100644 --- a/e2e/tests/team/01-createteam.spec.js +++ b/e2e/tests/team/01-createteam.spec.js @@ -62,7 +62,7 @@ describe('Create team screen', () => { }); it('should delete team', async() => { - if(device.getPlatform() === 'android') { + if (device.getPlatform() === 'android') { return; // Failing on android } await element(by.id('room-info-view-edit-button')).tap();