From 40dae23b61e25912437efa8dd3d8f604d6c5060b Mon Sep 17 00:00:00 2001 From: Anant Bhasin Date: Sat, 5 Jun 2021 20:21:46 +0530 Subject: [PATCH] platformTypes imort fix --- e2e/tests/assorted/03-profile.spec.js | 2 ++ e2e/tests/assorted/04-setting.spec.js | 2 ++ e2e/tests/assorted/05-joinpublicroom.spec.js | 2 ++ e2e/tests/assorted/10-deleteserver.spec.js | 2 ++ 4 files changed, 8 insertions(+) diff --git a/e2e/tests/assorted/03-profile.spec.js b/e2e/tests/assorted/03-profile.spec.js index 0e947b346..08a2d7c85 100644 --- a/e2e/tests/assorted/03-profile.spec.js +++ b/e2e/tests/assorted/03-profile.spec.js @@ -4,6 +4,8 @@ const { const { navigateToLogin, login, sleep } = require('../../helpers/app'); const data = require('../../data'); +const platformTypes = require('../../helpers/platformTypes'); + const profileChangeUser = data.users.profileChanges const scrollDown = 200; diff --git a/e2e/tests/assorted/04-setting.spec.js b/e2e/tests/assorted/04-setting.spec.js index dc848d3c3..141fa809e 100644 --- a/e2e/tests/assorted/04-setting.spec.js +++ b/e2e/tests/assorted/04-setting.spec.js @@ -3,6 +3,8 @@ const { } = require('detox'); const { navigateToLogin, login, tapBack } = require('../../helpers/app'); +const platformTypes = require('../../helpers/platformTypes'); + const data = require('../../data'); const testuser = data.users.regular diff --git a/e2e/tests/assorted/05-joinpublicroom.spec.js b/e2e/tests/assorted/05-joinpublicroom.spec.js index a804a18ec..1807c7a8f 100644 --- a/e2e/tests/assorted/05-joinpublicroom.spec.js +++ b/e2e/tests/assorted/05-joinpublicroom.spec.js @@ -4,6 +4,8 @@ const { const data = require('../../data'); const { navigateToLogin, login, mockMessage, tapBack, sleep, searchRoom } = require('../../helpers/app'); +const platformTypes = require('../../helpers/platformTypes'); + const testuser = data.users.regular const room = data.channels.detoxpublic.name; diff --git a/e2e/tests/assorted/10-deleteserver.spec.js b/e2e/tests/assorted/10-deleteserver.spec.js index 16db10c7a..9144452a2 100644 --- a/e2e/tests/assorted/10-deleteserver.spec.js +++ b/e2e/tests/assorted/10-deleteserver.spec.js @@ -4,6 +4,8 @@ const { const data = require('../../data'); const { sleep, navigateToLogin, login, checkServer } = require('../../helpers/app'); +const platformTypes = require('../../helpers/platformTypes'); + describe('Delete server', () => { let scrollViewType, alertButtonType; before(async() => {