Skip to content

Commit

Permalink
tests: add await
Browse files Browse the repository at this point in the history
  • Loading branch information
Filipe Marins committed Apr 18, 2022
1 parent 88d4f47 commit bea924e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/meteor/tests/cypress/pageobjects/side-nav.page.js
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ class SideNav extends Page {
// Opens a channel via rooms list
openChannel(channelName) {
cy.contains('[data-qa="sidebar-item-title"]', channelName).scrollIntoView().click();
cy.wait(100);
cy.get('.rcx-room-header').should('contain', channelName);
}

Expand Down

0 comments on commit bea924e

Please sign in to comment.