Update send_event.spec.ts - use Cypress Testing Library (#10613)

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
This commit is contained in:
Suguru Hirahara 2023-04-17 08:32:32 +00:00 committed by GitHub
parent 816a078651
commit 8471e45622
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -67,9 +67,9 @@ const INTEGRATION_MANAGER_HTML = `
`;
function openIntegrationManager() {
cy.get(".mx_RightPanel_roomSummaryButton").click();
cy.findByRole("tab", { name: "Room info" }).click();
cy.get(".mx_RoomSummaryCard_appsGroup").within(() => {
cy.contains("Add widgets, bridges & bots").click();
cy.findByRole("button", { name: "Add widgets, bridges & bots" }).click();
});
}