Show tooltips on narrow tabbed views (#12624)
* Show tooltips on narrow tabbed views * Also only show on left-side tabs * Unused import * Comments * Add test * More test * Assert tooltip appears in playwright test
This commit is contained in:
parent
650b9cb0cf
commit
72a8f8f03b
4 changed files with 100 additions and 1 deletions
|
@ -120,6 +120,12 @@ test.describe("General user settings tab", () => {
|
|||
await expect(uut).toMatchScreenshot("general-smallscreen.png");
|
||||
});
|
||||
|
||||
test("should show tooltips on narrow screen", async ({ page, uut }) => {
|
||||
await page.setViewportSize({ width: 700, height: 600 });
|
||||
await page.getByRole("tab", { name: "General" }).hover();
|
||||
await expect(page.getByRole("tooltip")).toHaveText("General");
|
||||
});
|
||||
|
||||
test("should support adding and removing a profile picture", async ({ uut, page }) => {
|
||||
const profileSettings = uut.locator(".mx_UserProfileSettings");
|
||||
// Upload a picture
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue