Default the room header to on (#12803)
* Default the room header to on * Refactor code into helper method Add a method to open/close the room info panel and use it everywhere. * Fix broken tests, update snapshots and screenshots * Update room header tests to make sense with the new header
This commit is contained in:
parent
25fcd6a65f
commit
bb1b7f1fd0
59 changed files with 595 additions and 397 deletions
|
@ -38,8 +38,8 @@ test.describe("Image Upload", () => {
|
|||
.locator(".mx_MessageComposer_actions input[type='file']")
|
||||
.setInputFiles("playwright/sample-files/riot.png");
|
||||
|
||||
expect(page.getByRole("button", { name: "Upload" })).toBeEnabled();
|
||||
expect(page.getByRole("button", { name: "Close dialog" })).toBeEnabled();
|
||||
expect(page).toMatchScreenshot("image-upload-preview.png");
|
||||
await expect(page.getByRole("button", { name: "Upload" })).toBeEnabled();
|
||||
await expect(page.getByRole("button", { name: "Close dialog" })).toBeEnabled();
|
||||
await expect(page).toMatchScreenshot("image-upload-preview.png");
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue