Adding timeout for flaky test

This commit is contained in:
yuneng-jiang 2026-01-06 16:56:54 -08:00
parent 874e8d1a6e
commit 8878b43466

View file

@ -43,6 +43,7 @@ test.describe("Internal Users Page", () => {
await expect(prevButton).toBeDisabled();
}
page.waitForTimeout(1000);
// Check if there are more pages
const hasMorePages = infoText.includes("of") && !infoText.endsWith("25 of 25");
if (hasMorePages) {