Skip to content

Commit f162db9

Browse files
Increase timeout
Signed-off-by: Luis Valdes <[email protected]>
1 parent e1be909 commit f162db9

File tree

22 files changed

+48
-48
lines changed

22 files changed

+48
-48
lines changed

typescript-sdk/apps/dojo/e2e/featurePages/AgenticChatPage.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -115,28 +115,28 @@ export class AgenticChatPage {
115115
const agentMessage = this.page.locator(".copilotKitAssistantMessage", {
116116
hasText: expectedText,
117117
});
118-
await expect(agentMessage.last()).toBeVisible({ timeout: 10000 });
118+
await expect(agentMessage.last()).toBeVisible({ timeout: 60000 });
119119
}
120120

121121
async assertAgentReplyContains(expectedText: string) {
122122
const agentMessage = this.page.locator(".copilotKitAssistantMessage").last();
123-
await expect(agentMessage).toContainText(expectedText, { timeout: 10000 });
123+
await expect(agentMessage).toContainText(expectedText, { timeout: 60000 });
124124
}
125125

126126
async assertWeatherResponseStructure() {
127127
const agentMessage = this.page.locator(".copilotKitAssistantMessage").last();
128128

129129
// Check for main weather response structure
130-
await expect(agentMessage).toContainText("The current weather in Islamabad is as follows:", { timeout: 10000 });
130+
await expect(agentMessage).toContainText("The current weather in Islamabad is as follows:", { timeout: 60000 });
131131

132132
// Check for temperature information
133-
await expect(agentMessage).toContainText("Temperature:", { timeout: 5000 });
133+
await expect(agentMessage).toContainText("Temperature:", { timeout: 50000 });
134134
// Check for humidity
135-
await expect(agentMessage).toContainText("Humidity:", { timeout: 5000 });
135+
await expect(agentMessage).toContainText("Humidity:", { timeout: 50000 });
136136

137137
// Check for wind speed
138-
await expect(agentMessage).toContainText("Wind Speed:", { timeout: 5000 });
138+
await expect(agentMessage).toContainText("Wind Speed:", { timeout: 50000 });
139139
// Check for conditions
140-
await expect(agentMessage).toContainText("Conditions:", { timeout: 5000 });
140+
await expect(agentMessage).toContainText("Conditions:", { timeout: 50000 });
141141
}
142142
}

typescript-sdk/apps/dojo/e2e/featurePages/ToolBaseGenUIPage.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export class ToolBaseGenUIPage {
2929
async checkGeneratedHaiku() {
3030
await this.page.locator('[data-testid="haiku-card"]').last().isVisible();
3131
const mostRecentCard = this.page.locator('[data-testid="haiku-card"]').last();
32-
await mostRecentCard.locator('[data-testid="haiku-line"]').first().waitFor({ state: 'visible', timeout: 10000 });
32+
await mostRecentCard.locator('[data-testid="haiku-line"]').first().waitFor({ state: 'visible', timeout: 60000 });
3333
}
3434

3535
async extractChatHaikuContent(page: Page): Promise<string> {
@@ -47,7 +47,7 @@ export class ToolBaseGenUIPage {
4747

4848
if (linesCount > 0) {
4949
try {
50-
await chatHaikuLines.first().waitFor({ state: 'visible', timeout: 5000 });
50+
await chatHaikuLines.first().waitFor({ state: 'visible', timeout: 50000 });
5151
break;
5252
} catch (error) {
5353
continue;

typescript-sdk/apps/dojo/e2e/pages/crewAIPages/HumanInLoopPage.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export class HumanInLoopPage {
3434
}
3535

3636
async selectItemsInPlanner() {
37-
await expect(this.plan).toBeVisible({ timeout: 10000 });
37+
await expect(this.plan).toBeVisible({ timeout: 60000 });
3838
await this.plan.click();
3939
}
4040

typescript-sdk/apps/dojo/e2e/pages/crewAIPages/PredictiveStateUpdatesPage.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export class PredictiveStateUpdatesPage {
4141
}
4242

4343
async getPredictiveResponse() {
44-
await expect(this.agentResponsePrompt).toBeVisible({ timeout: 10000 });
44+
await expect(this.agentResponsePrompt).toBeVisible({ timeout: 60000 });
4545
await this.agentResponsePrompt.click();
4646
}
4747

typescript-sdk/apps/dojo/e2e/pages/langGraphFastAPIPages/HumanInLoopPage.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export class HumanInLoopPage {
3434
}
3535

3636
async selectItemsInPlanner() {
37-
await expect(this.plan).toBeVisible({ timeout: 10000 });
37+
await expect(this.plan).toBeVisible({ timeout: 60000 });
3838
await this.plan.click();
3939
}
4040

typescript-sdk/apps/dojo/e2e/pages/langGraphFastAPIPages/PredictiveStateUpdatesPage.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export class PredictiveStateUpdatesPage {
4242
}
4343

4444
async getPredictiveResponse() {
45-
await expect(this.agentResponsePrompt).toBeVisible({ timeout: 10000 });
45+
await expect(this.agentResponsePrompt).toBeVisible({ timeout: 60000 });
4646
await this.agentResponsePrompt.click();
4747
}
4848

typescript-sdk/apps/dojo/e2e/pages/langGraphPages/HumanInLoopPage.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export class HumanInLoopPage {
3434
}
3535

3636
async selectItemsInPlanner() {
37-
await expect(this.plan).toBeVisible({ timeout: 10000 });
37+
await expect(this.plan).toBeVisible({ timeout: 60000 });
3838
await this.plan.click();
3939
}
4040

typescript-sdk/apps/dojo/e2e/pages/langGraphPages/PredictiveStateUpdatesPage.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export class PredictiveStateUpdatesPage {
4242
}
4343

4444
async getPredictiveResponse() {
45-
await expect(this.agentResponsePrompt).toBeVisible({ timeout: 10000 });
45+
await expect(this.agentResponsePrompt).toBeVisible({ timeout: 60000 });
4646
await this.agentResponsePrompt.click();
4747
}
4848

typescript-sdk/apps/dojo/e2e/pages/llamaIndexPages/HumanInLoopPage.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export class HumanInLoopPage {
3535
}
3636

3737
async selectItemsInPlanner() {
38-
await expect(this.plan).toBeVisible({ timeout: 10000 });
38+
await expect(this.plan).toBeVisible({ timeout: 60000 });
3939
await this.plan.click();
4040
}
4141

typescript-sdk/apps/dojo/e2e/pages/pydanticAIPages/HumanInLoopPage.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export class HumanInLoopPage {
3434
}
3535

3636
async selectItemsInPlanner() {
37-
await expect(this.plan).toBeVisible({ timeout: 10000 });
37+
await expect(this.plan).toBeVisible({ timeout: 60000 });
3838
await this.plan.click();
3939
}
4040

0 commit comments

Comments
 (0)