Remove mx_HeaderButtons
class and add a test (#10713)
* Remove `_HeaderButtons.pcss` Now that mx_HeaderButtons class is no longer necessary as ARIA "tabpanel" role has been removed from it, it is possible to remove both the class and the style rule for it. Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com> * Tests: add `room-header.spec.ts` and edit the existing tests Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com> * Edit snapshot widths settings Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com> * Fix typo Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com> * Edit a comment Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com> * Optimize a test to check default buttons Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com> * Check highlighted buttons Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com> * Loop Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com> --------- Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
This commit is contained in:
parent
499d8110b3
commit
f6f5d44bde
6 changed files with 201 additions and 49 deletions
|
@ -116,7 +116,7 @@ describe("Lazy Loading", () => {
|
|||
}
|
||||
|
||||
function openMemberlist(): void {
|
||||
cy.get(".mx_HeaderButtons").within(() => {
|
||||
cy.get(".mx_RoomHeader").within(() => {
|
||||
cy.findByRole("button", { name: "Room info" }).click();
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue