fix: use getByLabelText to avoid duplicate text match after continuity rail addition

This commit is contained in:
lda
2026-07-08 23:22:24 +07:00 Verified
parent 94a4a5be91
commit bd200cf520
@@ -65,7 +65,7 @@ describe("PresentationRoute", () => {
window.location.hash = "#scene/workflow-demo/operation";
const { PresentationRoute } = await import("./PresentationRoute.js");
render(<PresentationRoute />);
expect(await screen.findByText(/workflow.runs.start/i)).toBeInTheDocument();
expect(await screen.findByLabelText("workflow.runs.start operation")).toBeInTheDocument();
});
it("opens a positioning branch via hash and returns to the parent scene first beat", async () => {