refactor(ui): clarify catalog navigation hierarchy
This commit is contained in:
@@ -2982,6 +2982,8 @@ test("catalog mega menu renders only the active rail category", async () => {
|
||||
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);
|
||||
expect(source).toContain("border-bottom: 1px solid var(--wrn-color-border)");
|
||||
expect(source).toContain("color: var(--wrn-color-text) !important");
|
||||
});
|
||||
|
||||
test("mega menu supports rails, icons, badges, media, featured content and footer actions", async () => {
|
||||
|
||||
Reference in New Issue
Block a user