Update tests/screenshots

for https://github.com/element-hq/element-web/pull/33211
This commit is contained in:
Michael Telatynski
2026-04-22 15:57:39 +01:00
parent 13528eda63
commit f816c28eea
3 changed files with 3 additions and 3 deletions
@@ -120,7 +120,7 @@ test.describe("Banner", () => {
});
test("should render", { tag: ["@screenshot"] }, async ({ page, axe, navigationJsonResolver }) => {
await expect(page.getByRole("heading", { name: "Welcome to Element!" })).toBeVisible();
await expect(page.getByRole("heading", { name: "Be in your element" })).toBeVisible();
await expect(page.getByLabel("Show portal")).toHaveAttribute("href", "https://example.com/portal");
const nav = page.locator("nav");
@@ -207,7 +207,7 @@ test.describe("Banner", () => {
});
test("should render error", { tag: ["@screenshot"] }, async ({ page, axe }) => {
await expect(page.getByRole("heading", { name: "Welcome to Element!" })).toBeVisible();
await expect(page.getByRole("heading", { name: "Be in your element" })).toBeVisible();
await expect(page.getByLabel("Show portal")).toHaveAttribute("href", "https://example.com/portal");
const trigger = page.getByLabel("Show menu");
@@ -113,7 +113,7 @@ test.use({
test.describe("Opendesk", () => {
test("should render top-bar", { tag: ["@screenshot"] }, async ({ page }) => {
await expect(page.getByRole("heading", { name: "Welcome to Element!" })).toBeVisible();
await expect(page.getByRole("heading", { name: "Be in your element" })).toBeVisible();
await expect(page.getByLabel("Show portal")).toHaveAttribute("href", "https://example.com/portal");
const nav = page.locator("nav");
Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 18 KiB