FIx failing tests

testE2E-timezone
gitstart-calcom 2023-10-09 21:25:40 +00:00
parent e8214b6e92
commit bd57353dd6
1 changed files with 1 additions and 1 deletions

View File

@ -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()) {