-
Notifications
You must be signed in to change notification settings - Fork 7.8k
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 12990-cal-2854-add-todesktop-tailwind-variants
- Loading branch information
Showing
7 changed files
with
83 additions
and
14 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
/* eslint-disable playwright/no-conditional-in-test */ | ||
import { loginUser } from "../fixtures/regularBookings"; | ||
import { test } from "../lib/fixtures"; | ||
|
||
test.describe.configure({ mode: "serial" }); | ||
|
||
test.describe("Booking with recurring checked", () => { | ||
test.beforeEach(async ({ page, users, bookingPage }) => { | ||
await loginUser(users); | ||
await page.goto("/event-types"); | ||
await bookingPage.goToEventType("30 min"); | ||
await bookingPage.goToTab("recurring"); | ||
}); | ||
|
||
test("Updates event type with recurring events", async ({ page, bookingPage }) => { | ||
await bookingPage.updateRecurringTab("2", "3"); | ||
await bookingPage.updateEventType(); | ||
await page.getByRole("link", { name: "Event Types" }).click(); | ||
await bookingPage.assertRepeatEventType(); | ||
}); | ||
|
||
test("Updates and shows recurring schedule correctly in booking page", async ({ bookingPage }) => { | ||
await bookingPage.updateRecurringTab("2", "3"); | ||
await bookingPage.updateEventType(); | ||
const eventTypePage = await bookingPage.previewEventType(); | ||
await bookingPage.fillRecurringFieldAndConfirm(eventTypePage); | ||
}); | ||
}); |
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