Implement CE-WP-0010 Annotate & Attributes UX.
Rename Review→Annotate; Capture keeps Evidence and adds Attributes column (no bottom strip); evidence/attribute filters; card→citation connectors via shared Overlay bridges; finish workplan T01–T07.
This commit is contained in:
parent
dc7d8f7ce8
commit
e9f7676a1a
15 changed files with 241 additions and 437 deletions
|
|
@ -51,9 +51,9 @@ describe("Capture — field value persistence (CE-WP-0008-T01)", () => {
|
|||
const user = userEvent.setup();
|
||||
await loadApp();
|
||||
|
||||
const summary = screen.getByLabelText("Summary of the matter");
|
||||
const summary = screen.getByRole("textbox", { name: /Summary of the matter/ });
|
||||
await user.type(summary, "Tenant owes arrears");
|
||||
await user.click(screen.getByLabelText("Disputed amount"));
|
||||
await user.click(screen.getByRole("textbox", { name: /Disputed amount/ }));
|
||||
await user.click(summary);
|
||||
|
||||
expect((summary as HTMLTextAreaElement).value).toBe("Tenant owes arrears");
|
||||
|
|
@ -63,10 +63,10 @@ describe("Capture — field value persistence (CE-WP-0008-T01)", () => {
|
|||
const user = userEvent.setup();
|
||||
await loadApp();
|
||||
|
||||
const deadline = screen.getByLabelText("Key deadline") as HTMLInputElement;
|
||||
const deadline = document.querySelector("#field-deadline") as HTMLInputElement;
|
||||
await user.clear(deadline);
|
||||
await user.type(deadline, "2026-12-15");
|
||||
await user.click(screen.getByLabelText("Disputed amount"));
|
||||
await user.click(screen.getByRole("textbox", { name: /Disputed amount/ }));
|
||||
|
||||
expect(deadline.value).toBe("2026-12-15");
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue