diff --git a/apps/api/v2/src/modules/slots/slots-2024-04-15/controllers/slots.controller.e2e-spec.ts b/apps/api/v2/src/modules/slots/slots-2024-04-15/controllers/slots.controller.e2e-spec.ts index 3a7283f9828dd7..236cfc8beb56ca 100644 --- a/apps/api/v2/src/modules/slots/slots-2024-04-15/controllers/slots.controller.e2e-spec.ts +++ b/apps/api/v2/src/modules/slots/slots-2024-04-15/controllers/slots.controller.e2e-spec.ts @@ -513,6 +513,8 @@ describe("Slots 2024-04-15 Endpoints", () => { }); it("should do a booking for seated event and slot should show attendees count and bookingUid", async () => { + await selectedSlotRepositoryFixture.deleteAllByUserId(user.id); + const startTime = "2050-09-05T11:00:00.000Z"; const booking = await bookingsRepositoryFixture.create({ uid: `booking-uid-seated-${seatedEventTypeId}-${randomString()}`, @@ -548,7 +550,7 @@ describe("Slots 2024-04-15 Endpoints", () => { }, }); - bookingSeatsRepositoryFixture.create({ + await bookingSeatsRepositoryFixture.create({ referenceUid: `seat-${randomString()}`, data: {}, booking: { @@ -596,6 +598,8 @@ describe("Slots 2024-04-15 Endpoints", () => { }); it("should do a booking for seated event and slot should show attendees count and bookingUid in range format", async () => { + await selectedSlotRepositoryFixture.deleteAllByUserId(user.id); + const startTime = "2050-09-05T11:00:00.000Z"; const booking = await bookingsRepositoryFixture.create({ uid: `booking-uid-seated-${seatedEventTypeId}-${randomString()}`, @@ -631,7 +635,7 @@ describe("Slots 2024-04-15 Endpoints", () => { }, }); - bookingSeatsRepositoryFixture.create({ + await bookingSeatsRepositoryFixture.create({ referenceUid: `seat-${randomString()}`, data: {}, booking: { diff --git a/apps/web/lib/apps/[slug]/__tests__/parseFrontmatter.test.ts b/apps/web/lib/apps/[slug]/__tests__/parseFrontmatter.test.ts index 9848533e3bf4b7..0a5a0de5ca03f7 100644 --- a/apps/web/lib/apps/[slug]/__tests__/parseFrontmatter.test.ts +++ b/apps/web/lib/apps/[slug]/__tests__/parseFrontmatter.test.ts @@ -1,4 +1,14 @@ -import { describe, expect, it } from "vitest"; +import { describe, expect, it, vi } from "vitest"; + +vi.mock("@calcom/prisma", () => ({ + default: {}, + prisma: {}, +})); + +vi.mock("@calcom/app-store/_appRegistry", () => ({ + getAppWithMetadata: vi.fn(), +})); + import { parseFrontmatter } from "../getStaticProps"; describe("parseFrontmatter", () => { diff --git a/apps/web/modules/bookings/components/VerifyCodeDialog.tsx b/apps/web/modules/bookings/components/VerifyCodeDialog.tsx index cc7bddac843bca..d1792795d4384a 100644 --- a/apps/web/modules/bookings/components/VerifyCodeDialog.tsx +++ b/apps/web/modules/bookings/components/VerifyCodeDialog.tsx @@ -82,7 +82,8 @@ export const VerifyCodeDialog = ({ useEffect(() => setValue(""), [isOpenDialog]); - const digitClassName = "h-12 w-12 text-xl! text-center"; + const digitClassName = + "h-12 w-12 text-center text-xl! text-emphasis caret-emphasis [-webkit-text-fill-color:currentColor]"; return (