Implement BS-008 privacy draft and public prerendering

This commit is contained in:
rob
2026-11-12 09:19:30 +00:00
parent 855913ccf6
commit ebfb10d91e
19 changed files with 216 additions and 46 deletions
+6 -4
View File
@@ -14,10 +14,12 @@ describe("generic public pages", () => {
expect(screen.getByRole("heading", { name: /software solutions/i })).toBeInTheDocument();
});
it("marks legal pages as placeholders", () => {
const { rerender } = render(<Privacy />);
expect(screen.getByText(/template placeholder/i)).toBeInTheDocument();
rerender(<Terms />);
it("describes verified privacy flows while leaving terms unpublished", () => {
const { unmount } = render(<MemoryRouter><Privacy /></MemoryRouter>);
expect(screen.getByText(/The contact form asks for your name/i)).toBeInTheDocument();
expect(screen.getByText(/full privacy notice is pending review/i)).toBeInTheDocument();
unmount();
render(<Terms />);
expect(screen.getByText(/template placeholder/i)).toBeInTheDocument();
});