e2e: brand palette guard — fails on blue-family colors in the embedded surfaces
OKLCH-based: any computed color with hue 200–300° and chroma > 0.006 on /chat or /files/drive (both iframes included) fails the check. Run after Element/oCIS image bumps; PLAYWRIGHT_PATH can point at an existing node_modules. Found by the branding panel; threshold from the brand spec.
This commit is contained in:
parent
a8c691924d
commit
ea1a9bb4e5
1 changed files with 1 additions and 1 deletions
|
|
@ -121,7 +121,7 @@ async function checkSurface(name, url, waitMs) {
|
||||||
console.log(`checked ${name}`);
|
console.log(`checked ${name}`);
|
||||||
}
|
}
|
||||||
|
|
||||||
await checkSurface("/chat", `${API.replace("/api", "https://app.occupymedia.cc")}/chat`.replace("https://app.occupymedia.cc", "https://app.occupymedia.cc"), 16000);
|
await checkSurface("/chat", "https://app.occupymedia.cc/chat", 16000);
|
||||||
await checkSurface("/files/drive", "https://app.occupymedia.cc/files/drive", 15000);
|
await checkSurface("/files/drive", "https://app.occupymedia.cc/files/drive", 15000);
|
||||||
|
|
||||||
if (failures.length > 0) {
|
if (failures.length > 0) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue