Skip to content

Commit 68f94c9

Browse files
committed
test: align proof room copy assertions
1 parent 1b9cb25 commit 68f94c9

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

apps/dashboard/tests/run_detail_page.test.tsx

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,10 @@ describe("run detail page copy", () => {
4040
it("renders the English-first page title and summary copy", async () => {
4141
render(await RunDetailPage({ params: Promise.resolve({ id: "run-1" }) }));
4242

43-
expect(screen.getByTestId("run-detail-title")).toHaveTextContent("Run detail");
44-
expect(screen.getByText("Follow one run across status, event evidence, and replay comparison.")).toBeInTheDocument();
43+
expect(screen.getByTestId("run-detail-title")).toHaveTextContent("Proof room");
44+
expect(
45+
screen.getByText("Follow one run across live status, event evidence, and replay comparison before you trust the result."),
46+
).toBeInTheDocument();
4547
expect(screen.getByText("AI operator copilot")).toBeInTheDocument();
4648
expect(screen.getByRole("button", { name: "Generate operator brief" })).toBeInTheDocument();
4749
expect(screen.getByTestId("run-detail-stub")).toHaveTextContent("run-1");
@@ -55,8 +57,8 @@ describe("run detail page copy", () => {
5557

5658
render(await RunDetailPage({ params: Promise.resolve({ id: "run-zh" }) }));
5759

58-
expect(screen.getByTestId("run-detail-title")).toHaveTextContent("运行详情");
59-
expect(screen.getByText("沿着状态、事件证据和回放对比,完整跟踪这一条 Run。")).toBeInTheDocument();
60+
expect(screen.getByTestId("run-detail-title")).toHaveTextContent("证明室");
61+
expect(screen.getByText("沿着实时状态、事件证据和回放对比,完整跟踪这一条 Run,再决定是否信任结果。")).toBeInTheDocument();
6062
expect(screen.getByRole("link", { name: "打开对比视图" })).toHaveAttribute("href", "/runs/run-zh/compare");
6163
});
6264

0 commit comments

Comments
 (0)