-
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.
test: Check the recurring event tab and your funtionalities (teste2e-…
…recurring) (#12331) Co-authored-by: gitstart-calcom <[email protected]> Co-authored-by: GitStart-Cal.com <[email protected]> Co-authored-by: Keith Williams <[email protected]>
- Loading branch information
1 parent
299a866
commit e61be78
Showing
4 changed files
with
62 additions
and
3 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
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