fix(ui): contain long mega menu labels
This commit is contained in:
1 parent
decbee2fd1
commit
c648efc240
2 files changed
+9
No files matched your search
@@ -2980,6 +2980,8 @@ test("mega menu columns take roving focus and survive an empty column list", asy
|
||||
|
||||
test("catalog mega menu renders only the active rail category", async () => {
|
||||
const source = readFileSync(uiComponentPath("MegaMenu"), "utf8");
|
||||
expect(source).toContain(".wrn-mega__list > li");
|
||||
expect(source).toContain("overflow-wrap: anywhere;");
|
||||
const html = await renderComponent(source, {
|
||||
label: "Products",
|
||||
variant: "catalog",
|
||||
|
||||
Reference in new issue
Block a user