Skip to content

Commit

Permalink
drastically increasing timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
ColemanRoo committed Jan 27, 2025
1 parent 625b73c commit 714f67d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/test/extension.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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))
Expand Down

0 comments on commit 714f67d

Please sign in to comment.