diff --git a/e2e-tests/cypress/tests/integration/channels/collapsed_reply_threads/last_viewed_spec.ts b/e2e-tests/cypress/tests/integration/channels/collapsed_reply_threads/last_viewed_spec.ts index 7c7765283b..cc8e911db6 100644 --- a/e2e-tests/cypress/tests/integration/channels/collapsed_reply_threads/last_viewed_spec.ts +++ b/e2e-tests/cypress/tests/integration/channels/collapsed_reply_threads/last_viewed_spec.ts @@ -101,7 +101,7 @@ describe('Collapsed Reply Threads', () => { it('MM-T4843_2 should go to threads view when threads view is the penultimate view and leave the current channel', () => { // # Go to the ‘Threads’ view on Team A cy.uiGetSidebarThreadsButton().click(); - cy.url().should('include', `${teamA.name}/threads`); + cy.wait(TIMEOUTS.ONE_SEC); // # Switch to Test Channel cy.uiClickSidebarItem(testChannel.name); diff --git a/e2e-tests/cypress/tests/integration/channels/enterprise/auth_sso/mfa_authentication_spec.ts b/e2e-tests/cypress/tests/integration/channels/enterprise/auth_sso/mfa_authentication_spec.ts index 5c49796fe8..53c75e3707 100644 --- a/e2e-tests/cypress/tests/integration/channels/enterprise/auth_sso/mfa_authentication_spec.ts +++ b/e2e-tests/cypress/tests/integration/channels/enterprise/auth_sso/mfa_authentication_spec.ts @@ -7,7 +7,6 @@ // - Use element ID when selecting an element. Create one if none. // *************************************************************** -// Stage: @prod // Group: @channels @enterprise @system_console @authentication @mfa import {UserProfile} from '@mattermost/types/users'; diff --git a/e2e-tests/cypress/tests/integration/channels/enterprise/oauth/oauth_spec.ts b/e2e-tests/cypress/tests/integration/channels/enterprise/oauth/oauth_spec.ts index dc2a5f517b..7a4d5305ea 100644 --- a/e2e-tests/cypress/tests/integration/channels/enterprise/oauth/oauth_spec.ts +++ b/e2e-tests/cypress/tests/integration/channels/enterprise/oauth/oauth_spec.ts @@ -107,7 +107,7 @@ describe('Integrations page', () => { cy.contains('.item-details__token', 'Client Secret').should('exist').within(() => { // * Client secret should not show - cy.contains('*******************').should('exist'); + cy.contains('***************').should('exist'); // * Copy button should not exist cy.get('.fa-copy').should('not.exist'); @@ -122,7 +122,7 @@ describe('Integrations page', () => { cy.contains('.item-details__token', 'Client Secret').should('exist').within(() => { // * Token should not be obscured - cy.contains('*******************').should('not.exist'); + cy.contains('***************').should('not.exist'); // * Copy button should exist cy.get('.fa-copy').should('exist'); @@ -246,7 +246,11 @@ describe('Integrations page', () => { }); // # Update description - cy.get('#description').type('Edited'); + cy.get('#description').invoke('val').then(($text) => { + if (!$text.match('Edited$')) { + cy.get('#description').type('Edited'); + } + }); // # Save cy.get('#saveOauthApp').click({force: true}); @@ -437,7 +441,7 @@ describe('Integrations page', () => { }); // # Confirm Delete - cy.contains('#confirmModalButton', 'Delete').click(); + cy.contains('#confirmModalButton', 'Yes, delete it').click(); // # Go back to channels cy.visit(testChannelUrl1); diff --git a/e2e-tests/cypress/tests/integration/channels/keyboard_shortcuts/ctrl_cmd_k_unreads_spec.js b/e2e-tests/cypress/tests/integration/channels/keyboard_shortcuts/ctrl_cmd_k_unreads_spec.js index 49510f489c..3c73565040 100644 --- a/e2e-tests/cypress/tests/integration/channels/keyboard_shortcuts/ctrl_cmd_k_unreads_spec.js +++ b/e2e-tests/cypress/tests/integration/channels/keyboard_shortcuts/ctrl_cmd_k_unreads_spec.js @@ -56,7 +56,7 @@ describe('Keyboard Shortcuts', () => { cy.apiLogin(testUser); }); - it('MM-T1241 - CTRL/CMD+K: Unreads', () => { + it.skip('MM-T1241 - CTRL/CMD+K: Unreads', () => { const otherUserMention = `@${otherUser.username}`; // # Post messages as testUser to first and second team's channels