diff --git a/packages/e2e-tests/src/tests/joiningWithQSS.test.ts b/packages/e2e-tests/src/tests/joiningWithQSS.test.ts index 6b63ba0334..c26dc5130d 100644 --- a/packages/e2e-tests/src/tests/joiningWithQSS.test.ts +++ b/packages/e2e-tests/src/tests/joiningWithQSS.test.ts @@ -8,11 +8,8 @@ import { RegisterUsernameModal, } from '../selectors' import { InvitationDataV2, InvitationDataVersion } from '@quiet/types' -interface UserTestData { - username: string - app: App - messages: string[] -} +import { UserTestData } from '../types' + jest.setTimeout(450000) // Run QSS locally before this test @@ -36,7 +33,7 @@ describe('User joining with storage server', () => { users = { owner: { username: 'owner', - messages: ['Hi', 'Hello', 'After guest left the app'], + messages: ['Hi'], app: new App(), }, user1: { diff --git a/packages/e2e-tests/src/tests/multipleClients.test.ts b/packages/e2e-tests/src/tests/multipleClients.test.ts index 59ad62e03a..d8014b4e61 100644 --- a/packages/e2e-tests/src/tests/multipleClients.test.ts +++ b/packages/e2e-tests/src/tests/multipleClients.test.ts @@ -9,14 +9,9 @@ import { Sidebar, } from '../selectors' import logger from '../logger' +import { UserTestData } from '../types' const log = logger('ManyClients') -interface UserTestData { - username: string - app: App - messages: string[] -} - jest.setTimeout(1200000) // 20 minutes describe('Multiple Clients', () => { let generalChannelOwner: Channel diff --git a/packages/e2e-tests/src/tests/userProfile.test.ts b/packages/e2e-tests/src/tests/userProfile.test.ts index 6584dc5175..f37014c651 100644 --- a/packages/e2e-tests/src/tests/userProfile.test.ts +++ b/packages/e2e-tests/src/tests/userProfile.test.ts @@ -13,15 +13,10 @@ import logger from '../logger' import { EXPECTED_IMG_SRC_GIF, EXPECTED_IMG_SRC_JPEG, EXPECTED_IMG_SRC_PNG } from '../profilePhoto.const' import { sleep } from '../utils' import { BACK_ARROW_DATA_TESTID } from '../enums' +import { UserTestData } from '../types' const log = logger('userProfile') -interface UserTestData { - username: string - app: App - messages: string[] -} - jest.setTimeout(900000) describe('User Profile Feature', () => {