fix(agent-runner): validate clean marketplace onboarding

This commit is contained in:
huanghuoguoguo
2026-07-15 07:52:43 +08:00
parent d88d05e27c
commit 1af106aa92
10 changed files with 461 additions and 41 deletions
@@ -106,14 +106,16 @@ try {
const messageBehavior = page.getByRole("menuitem", {
name: /Reply to messages|回复收到的消息|受信メッセージに返信/,
});
const noEventRoutes = page.getByText(
/No event routes|暂无事件路由|イベントルートはありません/,
{ exact: true },
);
await noEventRoutes.waitFor();
await messageBehavior.waitFor();
await page.waitForTimeout(250);
await safeScreenshot(page, scenarioMenuScreenshot);
await messageBehavior.click();
await page
.getByText(/Message received|收到消息|メッセージを受信/)
.first()
.waitFor();
await noEventRoutes.waitFor({ state: "hidden" });
result.visible_signals.push("create-mode-routing", "scenario-route-added");
const create = await apiJson(backendUrl, "/api/v1/platform/bots", {