forked from calcom/cal.com
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into chore/verify-pages
- Loading branch information
Showing
28 changed files
with
1,205 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -757,7 +757,7 @@ export default function Success(props: PageProps) { | |
name="email" | ||
id="email" | ||
defaultValue={email} | ||
className="mr- focus:border-brand-default border-default text-default mt-0 block w-full rounded-none rounded-l-md shadow-sm focus:ring-black sm:text-sm" | ||
className="mr- focus:border-brand-default border-default text-default mt-0 block w-full rounded-none rounded-l-md shadow-sm focus:ring-black sm:text-sm" | ||
placeholder="[email protected]" | ||
/> | ||
<Button | ||
|
@@ -893,10 +893,16 @@ export function RecurringBookings({ | |
{eventType.recurringEvent?.count && | ||
recurringBookingsSorted.slice(4).map((dateStr: string, idx: number) => ( | ||
<div key={idx} className={classNames("mb-2", isCancelled ? "line-through" : "")}> | ||
{formatToLocalizedDate(dayjs.tz(date, tz), language, "full", tz)} | ||
{formatToLocalizedDate(dayjs.tz(dateStr, tz), language, "full", tz)} | ||
<br /> | ||
{formatToLocalizedTime(date, language, undefined, !is24h, tz)} -{" "} | ||
{formatToLocalizedTime(dayjs(date).add(duration, "m"), language, undefined, !is24h, tz)}{" "} | ||
{formatToLocalizedTime(dayjs(dateStr), language, undefined, !is24h, tz)} -{" "} | ||
{formatToLocalizedTime( | ||
dayjs(dateStr).add(duration, "m"), | ||
language, | ||
undefined, | ||
!is24h, | ||
tz | ||
)}{" "} | ||
<span className="text-bookinglight"> | ||
({formatToLocalizedTimezone(dayjs(dateStr), language, tz)}) | ||
</span> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
import { loginUser } from "../fixtures/regularBookings"; | ||
import { test } from "../lib/fixtures"; | ||
|
||
test.describe("Limits Tab - Event Type", () => { | ||
test.beforeEach(async ({ page, users, bookingPage }) => { | ||
await loginUser(users); | ||
await page.goto("/event-types"); | ||
await bookingPage.goToEventType("30 min"); | ||
await bookingPage.goToTab("event_limit_tab_title"); | ||
}); | ||
|
||
test("Check the functionalities of the Limits Tab", async ({ bookingPage }) => { | ||
await bookingPage.checkLimitBookingFrequency(); | ||
await bookingPage.checkLimitBookingDuration(); | ||
await bookingPage.checkLimitFutureBookings(); | ||
await bookingPage.checkOffsetTimes(); | ||
await bookingPage.checkBufferTime(); | ||
|
||
await bookingPage.updateEventType(); | ||
const eventTypePage = await bookingPage.previewEventType(); | ||
|
||
await eventTypePage.waitForTimeout(10000); | ||
|
||
const counter = await eventTypePage.getByTestId("time").count(); | ||
await bookingPage.checkTimeSlotsCount(eventTypePage, counter); | ||
}); | ||
}); |
Oops, something went wrong.