From 613656fbc492f840516358d2efcb3de5e3523456 Mon Sep 17 00:00:00 2001 From: Christopher Speller Date: Mon, 4 Mar 2024 14:05:35 -0800 Subject: [PATCH] More instances --- e2e-tests/tests/integration/playbooks/channels/rhs_spec.js | 4 ++-- e2e-tests/tests/support/ui/post.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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(() => {