Skip to content

Connect, collaborate, and grow with a community of TypeScript developers

fix(e2e-test): add flaky test by adding timeout (#1192)

Timon Jurschitsch0e35fa17780d
diff --git a/apps/web/tests/e2e/authenticated/comment.test.ts b/apps/web/tests/e2e/authenticated/comment.test.ts
index 9d62835b..a42e82f9 100644
--- a/apps/web/tests/e2e/authenticated/comment.test.ts
+++ b/apps/web/tests/e2e/authenticated/comment.test.ts
@@ -97,7 +97,7 @@ test.describe('create, edit, and delete comments', () => {
await expect(
page.getByLabel('Description').getByText(`${editedParentComment} ${parentCodeText}`),
- ).not.toBeVisible();
+ ).not.toBeVisible({ timeout: 10000 });
});
});