Implement BS-008 privacy draft and public prerendering
This commit is contained in:
@@ -20,6 +20,7 @@ describe("public marketing routes", () => {
|
||||
await waitFor(() => expect(screen.getByText(/Enquiries are temporarily unavailable/)).toBeInTheDocument());
|
||||
}
|
||||
else expect(fetchMock).not.toHaveBeenCalled();
|
||||
if (path === "/privacy") await waitFor(() => expect(document.querySelector('meta[name="robots"]')).toHaveAttribute("content", "noindex, nofollow"));
|
||||
expect(screen.queryByRole("link", { name: /login|register|dashboard/i })).not.toBeInTheDocument();
|
||||
});
|
||||
it("exposes the four marketing links and closes navigation on selection", async () => {
|
||||
|
||||
Reference in New Issue
Block a user