test(ui): assert structured receipt count

This commit is contained in:
Jesse Merhi
2026-08-09 20:01:43 +10:00
parent ce852958bd
commit cf1ac91609
+4 -2
View File
@@ -496,8 +496,10 @@ suite.define(() => {
);
} else {
expect(
page.locator(".custodian__structured-response", { hasText: "Twitch ops" }),
).toHaveCount(1);
await page
.locator(".custodian__structured-response", { hasText: "Twitch ops" })
.count(),
).toBe(1);
}
await gateway.resolveDeferred("openclaw.chat", {