Skip to content

Scheduling infrastructure for absolutely everyone.

attempt to fix flaky e2e test (#14949)

Carina Wollendorferc1416173e8f2
diff --git a/apps/web/playwright/webhook.e2e.ts b/apps/web/playwright/webhook.e2e.ts
index f3aae9fb8bd..7987556a3b8 100644
--- a/apps/web/playwright/webhook.e2e.ts
+++ b/apps/web/playwright/webhook.e2e.ts
@@ -578,6 +578,8 @@ test.describe("FORM_SUBMITTED", async () => {
],
});
+ await page.waitForLoadState("networkidle");
+
await gotoRoutingLink({ page, formId: form.id });
const fieldName = "name";
await page.fill(`[data-testid="form-field-${fieldName}"]`, "John Doe");
@@ -637,6 +639,8 @@ test.describe("FORM_SUBMITTED", async () => {
],
});
+ await page.waitForLoadState("networkidle");
+
await gotoRoutingLink({ page, formId: form.id });
const fieldName = "name";
await page.fill(`[data-testid="form-field-${fieldName}"]`, "John Doe");