Update tests

This commit is contained in:
adilallo
2025-09-30 15:30:02 -06:00
parent b15f913a14
commit e11f333915
63 changed files with 55920 additions and 7 deletions
+3 -5
View File
@@ -166,9 +166,7 @@ test.describe("Header responsive behavior", () => {
// Should have outline and brand color
expect(linkStyles.outline).not.toBe("none");
expect(linkStyles.outlineColor).toContain(
"var(--color-content-default-brand-primary)"
);
expect(linkStyles.outlineColor).toContain("254, 252, 201"); // RGB value of #fefcc9
});
test("home page does not show active state for learn navigation", async ({
@@ -188,8 +186,8 @@ test.describe("Header responsive behavior", () => {
};
});
// Should not have active outline
expect(linkStyles.outline).toBe("none");
// Should not have active outline (may have default browser outline)
expect(linkStyles.outline).toMatch(/^(none|0px|rgb\(0, 0, 0\) none 0px|rgb\(0, 0, 0\) 0px)$/);
});
});
});