diff --git a/e2e/helpers/data_setup.js b/e2e/helpers/data_setup.js index d6a6ec695..fd02a20c5 100644 --- a/e2e/helpers/data_setup.js +++ b/e2e/helpers/data_setup.js @@ -174,16 +174,6 @@ const post = (endpoint, body) => { return rocketchat.post(endpoint, body); }; -const get = (endpoint) => { - console.log(`GET /${ endpoint }`) - return rocketchat.get(endpoint); -} - -const post = (endpoint, body) => { - console.log(`POST /${ endpoint } ${ JSON.stringify(body) }`) - return rocketchat.post(endpoint, body); -} - module.exports = { setup, sendMessage, get, post, login }; diff --git a/e2e/tests/assorted/01-e2eencryption.spec.js b/e2e/tests/assorted/01-e2eencryption.spec.js index b2c98d6cd..de5ccb225 100644 --- a/e2e/tests/assorted/01-e2eencryption.spec.js +++ b/e2e/tests/assorted/01-e2eencryption.spec.js @@ -19,18 +19,6 @@ const checkBanner = async() => { await waitFor(element(by.id('listheader-encryption').withDescendant(by.label('Save Your Encryption Password')))).toBeVisible().withTimeout(10000); }; -const checkServer = async(server) => { - const label = `Connected to ${ server }`; - await element(by.id('rooms-list-view-sidebar')).tap(); - await waitFor(element(by.id('sidebar-view'))).toBeVisible().withTimeout(2000); - await waitFor(element(by.label(label))).toBeVisible().withTimeout(60000); - await element(by.id('sidebar-close-drawer')).tap(); -} - -const checkBanner = async() => { - await waitFor(element(by.id('listheader-encryption').withDescendant(by.label('Save Your Encryption Password')))).toBeVisible().withTimeout(10000); -} - async function navigateToRoom(roomName) { await searchRoom(`${ roomName }`); await element(by.id(`rooms-list-view-item-${ roomName }`)).tap();