mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-30 02:53:04 +00:00
Fix aria-required-children axe violation (#10900)
* Fix aria-required-children axe violation * Fix test selector
This commit is contained in:
committed by
GitHub
parent
4d59a6ff1f
commit
8b7eb8bb1d
@@ -47,9 +47,11 @@ describe("Invite dialog", function () {
|
||||
// Open the room info panel
|
||||
cy.findByRole("button", { name: "Room info" }).click();
|
||||
|
||||
// Click "People" button on the panel
|
||||
// Regex pattern due to the string of "mx_BaseCard_Button_sublabel"
|
||||
cy.findByRole("button", { name: /People/ }).click();
|
||||
cy.get(".mx_RightPanel").within(() => {
|
||||
// Click "People" button on the panel
|
||||
// Regex pattern due to the string of "mx_BaseCard_Button_sublabel"
|
||||
cy.findByRole("button", { name: /People/ }).click();
|
||||
});
|
||||
|
||||
cy.get(".mx_BaseCard_header").within(() => {
|
||||
// Click "Invite to this room" button
|
||||
|
||||
Reference in New Issue
Block a user