fix: clarify Scene 8 route repair rail

This commit is contained in:
lda
2026-07-13 22:19:40 +07:00 Verified
parent 706253665d
commit 1ea2009cfe
2 changed files with 4 additions and 1 deletions
@@ -76,6 +76,9 @@ describe("PreparedAuthoringLifecycleScene", () => {
expect(frame).toHaveTextContent(/prepared workflow lifecycle/i);
expect(frame).toHaveAttribute("data-authoring-step", "repair");
expect(frame).toHaveAttribute("data-recording-phase", "validate");
const rail = screen.getByRole("list", { name: /prepared authoring lifecycle/i });
expect(within(rail).getByText("Focused route edit")).toBeInTheDocument();
expect(within(rail).queryByText(/output-map/i)).not.toBeInTheDocument();
expect(screen.getByRole("region", { name: "route repair result" })).toHaveAttribute(
"data-authoring-result",
"repair",
@@ -25,7 +25,7 @@ const steps = [
{ id: "discover", label: "Discover", detail: "Sources, capabilities, schemas" },
{ id: "draft", label: "Author", detail: "Create and edit mutable Draft" },
{ id: "diagnose", label: "Diagnose", detail: "Structured validation result" },
{ id: "repair", label: "Repair", detail: "Focused output-map edit" },
{ id: "repair", label: "Repair", detail: "Focused route edit" },
{ id: "artifact", label: "Artifact", detail: "Immutable versioned definition" },
{ id: "deployment", label: "Deployment", detail: "Bind and validate sources" },
] as const satisfies readonly {