test: add apple calendar testing (#10137)

Co-authored-by: Shivam Kalra <[email protected]>
Co-authored-by: Omar López <[email protected]>
This commit is contained in:
authored and GitHub committed 2023-08-16 12:49:10 -07:00
1 parent 3552bbc6cf
commit 5eb3af54b3
13 files changed
+84 -9

No files matched your search

@@ -153,3 +153,10 @@ export async function rescheduleEvent(username: string, frame: Frame, page: Page
await expect(frame.locator("[data-testid=success-page]")).toBeVisible();
return booking;
}
export async function installAppleCalendar(page: Page) {
await page.goto("/apps/categories/calendar");
await page.click('[data-testid="app-store-app-card-apple-calendar"]');
await page.waitForURL("/apps/apple-calendar");
await page.click('[data-testid="install-app-button"]');
}