test(workspace): harden release gate automation

This commit is contained in:
huanghuoguoguo
2026-07-20 17:13:19 +08:00
parent 7615c40f73
commit e3df35e7f7
18 changed files with 293 additions and 53 deletions
@@ -204,9 +204,16 @@ try {
result.visible_signals.push("bot-created", "adapter-enabled");
await page.getByRole("button", { name: /Next|下一步|次へ/ }).click();
await page
.getByText(/Local Agent|本地 Agent/)
.first()
const localAgentTitle = page
.getByText(/^(Local Agent|本地 Agent)$/)
.first();
const localAgentCard = localAgentTitle.locator(
'xpath=ancestor::*[@data-slot="card"][1]',
);
await localAgentCard
.getByRole("button", {
name: /Use This Runner|使用此运行器|この Runner を使用/,
})
.click();
await page.waitForFunction(
() =>