fix(ui): render only supplied mega menu metadata
Quality / quality (windows-latest) (push) Waiting to run
Quality / quality (ubuntu-latest) (push) Failing after 9m55s

This commit is contained in:
2026-08-24 22:57:13 +05:30
parent eca4447dcf
commit 8f3a13c854
5 changed files with 7 additions and 22 deletions
+2
View File
@@ -2972,6 +2972,8 @@ test("catalog mega menu renders only the active rail category", async () => {
expect(source).toContain("overflow-y: auto");
expect(source).not.toContain("@mouseenter='chooseCategory(item, index)'");
expect(dom.querySelector(".wrn-mega__column-header")?.textContent).toContain("Sales");
expect(dom.querySelectorAll(".wrn-mega__link-icon")).toHaveLength(0);
expect(dom.querySelectorAll(".wrn-mega__link-description")).toHaveLength(0);
});
test("mega menu supports rails, icons, badges, media, featured content and footer actions", async () => {