fix: correct UM portal branding asset
This commit is contained in:
@@ -58,6 +58,17 @@ test("the authenticated shell keeps organization and navigation context accessib
|
||||
assert.match(layout, /aria-current=/);
|
||||
assert.match(layout, /Skip to main content/);
|
||||
assert.match(layout, /aria-label="Primary navigation"/);
|
||||
assert.match(layout, /src="\/um-trace-mark\.png"/);
|
||||
assert.doesNotMatch(layout, />\s*UL\s*</);
|
||||
});
|
||||
|
||||
test("the portal uses the cropped UM foreground without nested icon padding", () => {
|
||||
const layout = read("components/Layout.tsx");
|
||||
const css = read("styles/global.css");
|
||||
assert.match(layout, /src="\/um-trace-mark\.png"/);
|
||||
assert.doesNotMatch(layout, /um-trace-icon\.svg/);
|
||||
assert.match(css, /\.ul-shell__brand-mark\s*\{[^}]*object-fit:\s*contain;/s);
|
||||
assert.match(css, /\.ul-shell__brand-mark\s*\{[^}]*padding:\s*0\.375rem;/s);
|
||||
});
|
||||
|
||||
test("status presentation always combines a readable label with an icon", () => {
|
||||
|
||||
Reference in New Issue
Block a user