Unverified 提交 20b2a293 authored 作者: Will Chen's avatar Will Chen 提交者: GitHub

Deflake local agent consent e2e test (#3173)

<!-- devin-review-badge-begin --> --- <a href="https://app.devin.ai/review/dyad-sh/dyad/pull/3173" target="_blank"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://static.devin.ai/assets/gh-open-in-devin-review-dark.svg?v=1"> <img src="https://static.devin.ai/assets/gh-open-in-devin-review-light.svg?v=1" alt="Open with Devin"> </picture> </a> <!-- devin-review-badge-end -->
上级 41e66f70
import { expect } from "@playwright/test";
import { testSkipIfWindows } from "./helpers/test_helper";
import { testSkipIfWindows, Timeout } from "./helpers/test_helper";
/**
* Tests for agent tool consent flow with add_dependency
......@@ -24,7 +24,8 @@ testSkipIfWindows(
await po.agentConsent.clickAgentConsentAlwaysAllow();
// Wait for chat to complete
await po.chatActions.waitForChatCompletion();
// This can take a while as `sfw` may be installing.
await po.chatActions.waitForChatCompletion({ timeout: Timeout.LONG });
await po.snapshotMessages();
......@@ -53,7 +54,8 @@ testSkipIfWindows(
await po.agentConsent.clickAgentConsentAllowOnce();
// Wait for chat to complete
await po.chatActions.waitForChatCompletion();
// This can take a while as `sfw` may be installing.
await po.chatActions.waitForChatCompletion({ timeout: Timeout.LONG });
await po.snapshotMessages();
},
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论