You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-08-10 19:43:07 +03:00
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:
@@ -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();
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user