docs: reconcile rehearsal gate findings

This commit is contained in:
lda
2026-07-13 01:36:54 +07:00 Verified
parent c82926fc29
commit 46091e56fb
4 changed files with 15 additions and 11 deletions
@@ -97,8 +97,10 @@ describe("PresentationRoute", () => {
const { PresentationRoute } = await import("./PresentationRoute.js");
render(<PresentationRoute />);
const headings = await screen.findAllByRole("heading", { name: heading });
expect(headings.length).toBeGreaterThan(0);
await waitFor(
() => expect(screen.getAllByRole("heading", { name: heading })).toHaveLength(1),
{ timeout: 12000 },
);
const footer = screen.getByRole("contentinfo", { name: /presentation footer/i });
const action = within(footer).queryByRole("button", {
name: /run prepared workflow|play replay walkthrough/i,