diff --git a/e2e-tests/tests/integration/playbooks/channels/rhs_spec.js b/e2e-tests/tests/integration/playbooks/channels/rhs_spec.js index b81cae1502..9157ea63a8 100644 --- a/e2e-tests/tests/integration/playbooks/channels/rhs_spec.js +++ b/e2e-tests/tests/integration/playbooks/channels/rhs_spec.js @@ -349,8 +349,8 @@ describe('channels > rhs', {testIsolation: true}, () => { cy.findByRole('button', {name: 'Saved messages'}). click({force: true}); - // * Verify Saved Posts is open - cy.get('.sidebar--right__title').should('contain.text', 'Saved Posts'); + // * Verify Saved Messages is open + cy.get('.sidebar--right__title').should('contain.text', 'Saved Messages'); // # Start a playbook run with a slash command const now = Date.now(); diff --git a/e2e-tests/tests/support/ui/post.ts b/e2e-tests/tests/support/ui/post.ts index 91af961eda..ff1a8f014f 100644 --- a/e2e-tests/tests/support/ui/post.ts +++ b/e2e-tests/tests/support/ui/post.ts @@ -111,7 +111,7 @@ export function verifySavedPost(postId, message) { cy.get('#searchContainer').should('be.visible').within(() => { cy.get('.sidebar--right__title'). should('be.visible'). - and('have.text', 'Saved Posts'); + and('have.text', 'Saved Messages'); // * Check that the post pre-header is not shown for the saved message in RHS cy.get(`#searchResult_${postId}`).within(() => { @@ -165,7 +165,7 @@ export function verifyUnsavedPost(postId) { cy.get('#searchContainer').should('be.visible').within(() => { cy.get('.sidebar--right__title'). should('be.visible'). - and('have.text', 'Saved Posts'); + and('have.text', 'Saved Messages'); // * Check that the post pre-header is not shown for the saved message in RHS cy.get('#search-items-container').within(() => {