From bd57353dd6a764bd5f3547c80a42a6babb65b202 Mon Sep 17 00:00:00 2001 From: gitstart-calcom Date: Mon, 9 Oct 2023 21:25:40 +0000 Subject: [PATCH] FIx failing tests --- apps/web/playwright/booking/timezone.e2e.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/playwright/booking/timezone.e2e.ts b/apps/web/playwright/booking/timezone.e2e.ts index 34ec5163bf..1bb254c3c8 100644 --- a/apps/web/playwright/booking/timezone.e2e.ts +++ b/apps/web/playwright/booking/timezone.e2e.ts @@ -19,8 +19,8 @@ test.describe("Test the timezone behavior in specific cases", () => { test("Change timezone in booking page", async ({ page }) => { await login({ username: "pro", email: "pro@example.com", password: "pro" }, page); - await page.goto("/event-types"); const eventTypesPage = page; + await eventTypesPage.goto("/event-types"); // eslint-disable-next-line playwright/no-conditional-in-test if (await eventTypesPage.getByRole("button", { name: "Update timezone" }).isVisible()) {