style: establish editorial surfaces for authoring scenes

This commit is contained in:
lda
2026-07-12 01:42:13 +07:00 Verified
parent c22f0f718c
commit 7dba34f249
7 changed files with 49 additions and 7 deletions
@@ -15,6 +15,10 @@ const renderBeat = (beatId: string) => {
describe("PreparedAuthoringLifecycleScene", () => {
it("discover shows sources, capabilities, and schema", () => {
renderBeat("discover");
expect(screen.getByRole("region", { name: "prepared workflow authoring lifecycle" })).toHaveAttribute(
"data-presentation-surface",
"editorial",
);
expect(screen.getByText("Discover")).toBeInTheDocument();
expect(screen.getAllByText(/sources|capabilities|schema/i).length).toBeGreaterThanOrEqual(1);
});