chore: remove booking limit e2e todos

This commit is contained in:
nicktrn 2023-10-15 15:12:58 +00:00
parent d70de65d15
commit c93bdcce08

View File

@ -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");
});