generated from coulomb/repo-seed
CE-WP-0006/0007: Capture view polish, workplans, and UX refinements
- Blob URL stability, scroll centre, strip-only visual guide - Focus-gated linking, unlink clears overlay, field badge tooltips - Capture layout (viewer centre), grey guide lines, Add field button - Workplans CE-WP-0006 (done) and CE-WP-0007 (T01-T09 done, T10-T12 todo) - Integration tests and viewer-url helpers
This commit is contained in:
@@ -168,14 +168,16 @@ describe("App — PRD scenario steps 1-8 (CE-WP-0002-T09)", () => {
|
||||
);
|
||||
});
|
||||
|
||||
// The toolbar should appear with the quoted text preview.
|
||||
const toolbar = await screen.findByText(/New annotation/);
|
||||
expect(toolbar).toBeTruthy();
|
||||
// The inline capture form should appear with the quoted text preview.
|
||||
await screen.findByTestId("inline-capture-form");
|
||||
await screen.findByText(/New evidence/);
|
||||
|
||||
// Step 4: add a comment and save.
|
||||
const textarea = screen.getByPlaceholderText(/Add a one-line comment/);
|
||||
await user.type(textarea, "Important deadline clause");
|
||||
await user.click(screen.getByRole("button", { name: /Save evidence/ }));
|
||||
await user.type(
|
||||
screen.getByTestId("inline-capture-commentary"),
|
||||
"Important deadline clause",
|
||||
);
|
||||
await user.click(screen.getByTestId("inline-capture-save"));
|
||||
|
||||
// Step 5: the item appears in the sidebar. The commentary text is
|
||||
// unique to the right pane (the collection list never echoes it back).
|
||||
|
||||
Reference in New Issue
Block a user