Debug screenshot

This commit is contained in:
Michael Telatynski
2026-03-31 11:45:36 +01:00
parent 663754989e
commit c6280dd875
@@ -153,15 +153,7 @@ test.describe("Banner", () => {
// Assert the sidebar looks as we expect // Assert the sidebar looks as we expect
await expect(axe).toHaveNoViolations(); await expect(axe).toHaveNoViolations();
await expect(sidebar).toMatchAriaSnapshot(); await expect(sidebar).toMatchAriaSnapshot();
await expect(page).toMatchScreenshot(`${type}_menu.png`, { await expect(page).toMatchScreenshot(`${type}_menu.png`);
// We exclude this as we don't want to assert Element's styling, only our own
css: `
#matrixchat {
opacity: 0;
background: orchid;
}
`,
});
}); });
await test.step("close menu", async () => { await test.step("close menu", async () => {