Skip to content

Commit

Permalink
[skip ci] Fix/demote testcases (mattermost#29497)
Browse files Browse the repository at this point in the history
  • Loading branch information
mvitale1989 authored Dec 6, 2024
1 parent e6c0ed4 commit a90f19d
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand All @@ -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');
Expand Down Expand Up @@ -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});
Expand Down Expand Up @@ -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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a90f19d

Please sign in to comment.