Skip to content

Commit

Permalink
More instances
Browse files Browse the repository at this point in the history
  • Loading branch information
crspeller committed Mar 4, 2024
1 parent db8aa21 commit 613656f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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 @@ -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();
Expand Down
4 changes: 2 additions & 2 deletions e2e-tests/tests/support/ui/post.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(() => {
Expand Down Expand Up @@ -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(() => {
Expand Down

0 comments on commit 613656f

Please sign in to comment.