Send FeatureGrid Learn more to the Learn page instead of a dead hash link.

This commit is contained in:
adilallo committed 2026-08-25 18:54:54 -06:00
1 parent 63e0f77998
commit d9751d7964
6 files changed
+19 -6

No files matched your search

+8
View File
@@ -57,6 +57,14 @@ describe("FeatureGrid (behavioral tests)", () => {
).not.toBeInTheDocument();
});
it("sends Learn more to the Learn page", () => {
render(<FeatureGrid title="Test" subtitle="Test" />);
expect(screen.getByRole("link", { name: "Learn more" })).toHaveAttribute(
"href",
"/learn",
);
});
it("does not apply a focus ring to the entire grid shell", () => {
render(<FeatureGrid title="Test" subtitle="Test" />);
const shell = document.querySelector('[data-figma-node="18847-22410"]');