fix(ui): keep breadcrumb separators visible
Quality / quality (windows-latest) (push) Waiting to run
Quality / quality (ubuntu-latest) (push) Failing after 10m21s

This commit is contained in:
2026-08-25 16:34:44 +05:30
parent 1ff2c3339c
commit 510b3ba777
4 changed files with 20 additions and 4 deletions
+10
View File
@@ -3184,6 +3184,16 @@ test("breadcrumb renders a standalone active page with its icon", async () => {
expect(dom.querySelectorAll(".wrn-breadcrumb__item").length).toBe(3);
});
test("breadcrumb default separators remain visible without generated icon CSS", async () => {
const source = readFileSync(uiComponentPath("Breadcrumb"), "utf8");
const html = await renderComponent(source, {
showHome: true,
items: [{ label: "Legal" }, { label: "Terms", current: true }],
});
expect(html).toContain("");
expect(html).not.toContain("icon-[lucide--chevron-right]");
});
test("mega menu bridges the gap between its trigger and panel", async () => {
const source = readFileSync(uiComponentPath("MegaMenu"), "utf8");
/*