✅ (typescript_test.yml): update shard configuration to include 6 shards

✅ (index.tsx): add data-testid attribute to checkbox component
✅ (basicExamples.spec.ts): add waitForSelector for send icon to improve test stability
✅ (chatInputOutputUser.spec.ts): add waitForSelector for send icon to improve test stability
✅ (deleteComponentFlows.spec.ts): add waitForSelector for various elements to improve test stability
✅ (generalBugs.spec.ts): add waitForSelector for send icon to improve test stability
This commit is contained in:
cristhianzl 2024-06-26 22:22:51 -03:00 • committed by Gabriel Luiz Freitas Almeida
commit 37af161154
6 changed files with 59 additions and 10 deletions

View file

@ -163,6 +163,11 @@ test("Memory Chatbot", async ({ page }) => {
.getByTestId("input-chat-playground")
.last()
.fill("try reproduce the sound I made in words");
await page.waitForSelector('[data-testid="icon-LucideSend"]', {
timeout: 100000,
});
await page.getByTestId("icon-LucideSend").last().click();
await page.waitForSelector("text=roar", { timeout: 30000 });