From c93bdcce08cba5d670e2f136cfc41b2c8b127087 Mon Sep 17 00:00:00 2001 From: nicktrn <55853254+nicktrn@users.noreply.github.com> Date: Sun, 15 Oct 2023 15:12:58 +0000 Subject: [PATCH] chore: remove booking limit e2e todos --- apps/web/playwright/booking-limits.e2e.ts | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/apps/web/playwright/booking-limits.e2e.ts b/apps/web/playwright/booking-limits.e2e.ts index 0b7ac94ec7..ff5ad02356 100644 --- a/apps/web/playwright/booking-limits.e2e.ts +++ b/apps/web/playwright/booking-limits.e2e.ts @@ -1,3 +1,7 @@ +/** + * These e2e tests only aim to cover standard cases + * Edge cases are currently handled in integration tests only + */ import { expect } from "@playwright/test"; import type { Dayjs } from "@calcom/dayjs"; @@ -7,7 +11,7 @@ import { entries } from "@calcom/prisma/zod-utils"; import type { IntervalLimit } from "@calcom/types/Calendar"; import { test } from "./lib/fixtures"; -import { bookTimeSlot, createUserWithLimits, todo } from "./lib/testUtils"; +import { bookTimeSlot, createUserWithLimits } from "./lib/testUtils"; test.describe.configure({ mode: "parallel" }); test.afterEach(async ({ users }) => { @@ -227,10 +231,6 @@ test.describe("Booking limits", () => { bookingDate = incrementDate(bookingDate, limitUnit); } }); - - todo("Verify that past bookings count towards limits"); - - todo("Consider edge cases e.g. partial weeks"); }); test.describe("Duration limits", () => { @@ -415,8 +415,4 @@ test.describe("Duration limits", () => { bookingDate = incrementDate(bookingDate, limitUnit); } }); - - todo("Verify that past bookings count towards limits"); - - todo("Consider edge cases e.g. partial weeks"); });