Skip to content

Commit

Permalink
Increase race condition timeout for staging
Browse files Browse the repository at this point in the history
  • Loading branch information
codeincontext committed Sep 23, 2024
1 parent c88ccfe commit f85f237
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions apps/nextjs/tests-e2e/tests/aila-chat/full-romans.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,32 +70,32 @@ test.describe("Authenticated", { tag: "@authenticated" }, () => {
await test.step("Iterate through the fixtures", async () => {
await page.waitForURL(/\/aila\/.+/);
await waitForGeneration(page, generationTimeout);
await page.waitForTimeout(50);
await expectSectionsComplete(page, 1);
await page.waitForTimeout(500);

setFixture("roman-britain-2");
await continueChat(page);
await waitForGeneration(page, generationTimeout);
await page.waitForTimeout(50);
await expectSectionsComplete(page, 3);
await page.waitForTimeout(500);

setFixture("roman-britain-3");
await continueChat(page);
await waitForGeneration(page, generationTimeout);
await page.waitForTimeout(50);
await expectSectionsComplete(page, 7);
await page.waitForTimeout(500);

setFixture("roman-britain-4");
await continueChat(page);
await waitForGeneration(page, generationTimeout);
await page.waitForTimeout(50);
await expectSectionsComplete(page, 10);
await page.waitForTimeout(500);

setFixture("roman-britain-5");
await continueChat(page);
await waitForGeneration(page, generationTimeout);
await page.waitForTimeout(50);
await expectSectionsComplete(page, 10);
await page.waitForTimeout(500);

await isFinished(page);
});
Expand Down

0 comments on commit f85f237

Please sign in to comment.