mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
drastically increasing timeout
This commit is contained in:
parent
625b73caef
commit
714f67dd52
1 changed files with 2 additions and 1 deletions
|
|
@ -149,7 +149,7 @@ suite("Roo Code Extension Test Suite", () => {
|
|||
|
||||
test("Should handle prompt and response correctly", async function () {
|
||||
// @ts-ignore
|
||||
this.timeout(120000) // Increase timeout for API request
|
||||
this.timeout(600000) // Increase timeout for API request
|
||||
|
||||
const timeout = 60000
|
||||
const interval = 1000
|
||||
|
|
@ -225,6 +225,7 @@ suite("Roo Code Extension Test Suite", () => {
|
|||
// Wait for webview to launch and receive initial state
|
||||
let startTime = Date.now()
|
||||
while (Date.now() - startTime < 180000) {
|
||||
console.log("Webview ready:", webviewReady)
|
||||
if (webviewReady) {
|
||||
// Wait an additional second for webview to fully initialize
|
||||
await new Promise((resolve) => setTimeout(resolve, 1000))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue