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
@@ -111,7 +111,13 @@ try {
{ exact: true },
);
await noEventRoutes.waitFor();
await messageBehavior.waitFor();
try {
await messageBehavior.waitFor({ timeout: 5_000 });
} catch {
// Async adapter fields can rerender once after the first menu click.
await addBehavior.click();
await messageBehavior.waitFor();
}
await page.waitForTimeout(250);
await safeScreenshot(page, scenarioMenuScreenshot);
await messageBehavior.click();