1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-30 02:21:17 +03:00

Fix TAC button alignment when expanded (#12238)

This commit is contained in:
Florian Duros
2024-02-08 15:09:32 +01:00
committed by GitHub
parent 967695b6ad
commit cf5d9f86fd
4 changed files with 26 additions and 3 deletions

View File

@ -350,6 +350,20 @@ export class Helpers {
await this.receiveMessages(room2, ["Msg2", msg.threadedOff("Msg2", "Resp2")]);
await this.receiveMessages(room1, ["Msg3", msg.threadedOff("Msg3", "Resp3")]);
}
/**
* Get the space panel
*/
getSpacePanel() {
return this.page.getByRole("navigation", { name: "Spaces" });
}
/**
* Expand the space panel
*/
expandSpacePanel() {
return this.page.getByRole("button", { name: "Expand" }).click();
}
}
export { expect };