Files
cal.diy/apps/web/playwright/booking/availability.e2e.ts
T
6612926aa5 test: Check availability tab and all your functions (teste2e-availability) (#12434)
* add changes

* add changes

* add changes

* add changes

* Requested changes

* Change way to grab element

---------

Co-authored-by: gitstart-calcom <[email protected]>
Co-authored-by: gitstart-calcom <[email protected]>
Co-authored-by: Morgan <[email protected]>
Co-authored-by: Keith Williams <[email protected]>
Co-authored-by: Joe Au-Yeung <[email protected]>
2024-01-15 11:45:51 -05:00

16 lines
571 B
TypeScript

import { loginUser } from "../fixtures/regularBookings";
import { test } from "../lib/fixtures";
test.describe("Check availability tab in a event-type", () => {
test("Check availability in event type", async ({ eventTypePage, users }) => {
await loginUser(users);
await eventTypePage.goToEventTypesPage();
await eventTypePage.goToEventType("30 min");
await eventTypePage.goToTab("availability");
await eventTypePage.checkAvailabilityTab();
await eventTypePage.goToAvailabilityPage();
await eventTypePage.checkAvailabilityPage();
});
});