Update existing Cypress tests - use Cypress Testing Library (#10755)

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
This commit is contained in:
Suguru Hirahara 2023-05-01 20:13:24 +00:00 committed by GitHub
parent 58c942be45
commit a81940b62a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View file

@ -27,7 +27,7 @@ interface CryptoTestContext extends Mocha.Context {
}
const openRoomInfo = () => {
cy.get(".mx_RightPanel_roomSummaryButton").click();
cy.findByRole("button", { name: "Room info" }).click();
return cy.get(".mx_RightPanel");
};