feat: expand intelligent investigation workspace
This commit is contained in:
@@ -37,7 +37,7 @@ test("submits a custom answer with the actionable id after a later tool placehol
|
||||
}
|
||||
}
|
||||
]);
|
||||
await expect(panel.getByText("已回答", { exact: true })).toBeVisible();
|
||||
await expect(panel.getByText("已回答", { exact: true })).toHaveCount(1);
|
||||
await expect(panel.getByRole("button", { name: "提交回答" })).toHaveCount(0);
|
||||
});
|
||||
|
||||
@@ -111,6 +111,11 @@ async function mockQuestionApi(page: Page, replies: Array<{ pathname: string; bo
|
||||
return;
|
||||
}
|
||||
|
||||
if (request.method() === "GET" && pathname.includes("/session/question-session/questions/")) {
|
||||
await route.fulfill({ json: { status: "pending" } });
|
||||
return;
|
||||
}
|
||||
|
||||
if (pathname.endsWith("/models")) {
|
||||
await route.fulfill({
|
||||
json: {
|
||||
|
||||
Reference in New Issue
Block a user