Give builder fields persistent labels, treat description as optional, and validate save-progress email with a real form.
Name stays required; description is a labelled optional textarea. Email uses native validity and form submit. Drop the dead workshop link and fix a few copy errors. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -22,11 +22,9 @@ describe("InformationalScreen", () => {
|
||||
).toBeInTheDocument();
|
||||
});
|
||||
|
||||
it("renders workshop as a link (URL TBD) with underline per Figma", () => {
|
||||
it("does not offer a workshop link until a destination exists", () => {
|
||||
render(<InformationalScreen />);
|
||||
const workshop = screen.getByRole("link", { name: "workshop" });
|
||||
expect(workshop).toHaveAttribute("href", "#");
|
||||
expect(workshop.className).toMatch(/underline/);
|
||||
expect(screen.queryByRole("link", { name: "workshop" })).not.toBeInTheDocument();
|
||||
});
|
||||
|
||||
it("renders first numbered list item title", () => {
|
||||
|
||||
Reference in New Issue
Block a user