Skip to content

Commit

Permalink
Save posts is now saved messages
Browse files Browse the repository at this point in the history
  • Loading branch information
crspeller committed Feb 23, 2024
1 parent b077072 commit db8aa21
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions e2e-tests/tests/integration/playbooks/channels/rhs_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ describe('channels > rhs', {testIsolation: true}, () => {
if ($body.find('#channelHeaderFlagButton').length > 0) {
cy.get('#channelHeaderFlagButton').click({force: true});
} else {
cy.findByRole('button', {name: 'Saved posts'}).
cy.findByRole('button', {name: 'Saved messages'}).
click({force: true});
}
});
Expand Down Expand Up @@ -346,7 +346,7 @@ describe('channels > rhs', {testIsolation: true}, () => {
cy.get('#post-create').should('exist');

// # Open the saved posts RHS
cy.findByRole('button', {name: 'Saved posts'}).
cy.findByRole('button', {name: 'Saved messages'}).
click({force: true});

// * Verify Saved Posts is open
Expand Down
2 changes: 1 addition & 1 deletion e2e-tests/tests/support/ui/global_header.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ Cypress.Commands.add('uiGetRecentMentionButton', () => {
});

Cypress.Commands.add('uiGetSavedPostButton', () => {
return cy.findByRole('button', {name: 'Saved posts'}).should('be.visible');
return cy.findByRole('button', {name: 'Saved messages'}).should('be.visible');
});

Cypress.Commands.add('uiGetSettingsButton', () => {
Expand Down

0 comments on commit db8aa21

Please sign in to comment.