Skip to content

Commit 031236f

Browse files
committed
Move sharedState and toolbasegenui tests to use shared page file
1 parent 1a7fcc2 commit 031236f

File tree

30 files changed

+22
-1283
lines changed

30 files changed

+22
-1283
lines changed

typescript-sdk/apps/dojo/e2e/pages/crewAIPages/SharedStatePage.ts renamed to typescript-sdk/apps/dojo/e2e/featurePages/SharedStatePage.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ export class SharedStatePage {
2323
this.addIngredient = page.getByRole('button', { name: '+ Add Ingredient' });
2424
this.agentMessage = page.locator('.copilotKitAssistantMessage');
2525
this.userMessage = page.locator('.copilotKitUserMessage');
26+
this.ingredientCards = page.locator('.ingredient-card');
2627
}
2728

2829
async openChat() {
@@ -63,7 +64,7 @@ export class SharedStatePage {
6364
console.log(`✅ Found ${count} instruction items.`);
6465
return count;
6566
}
66-
67+
6768
async assertAgentReplyVisible(expectedText: RegExp) {
6869
await expect(this.agentMessage.getByText(expectedText)).toBeVisible();
6970
}

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

Lines changed: 0 additions & 114 deletions
This file was deleted.

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

Lines changed: 0 additions & 74 deletions
This file was deleted.

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

Lines changed: 0 additions & 123 deletions
This file was deleted.

0 commit comments

Comments
 (0)