fix: correct UM portal branding asset

This commit is contained in:
Brent Perteet
2026-08-23 20:54:07 -05:00
parent d0b2f28762
commit 081ff485fa
4 changed files with 27 additions and 10 deletions

View File

@@ -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", () => {