FIx failing tests

teste2e-managedMultiSelectQuestion
gitstart-calcom 2023-10-25 23:21:03 +00:00
parent e1b29e3bd5
commit 635140bd73
1 changed files with 2 additions and 2 deletions

View File

@ -160,9 +160,9 @@ export function createBookingPageFixture(page: Page) {
}
await page.getByTestId("field-add-save").click();
},
updateEventType: async (options: { shouldCheck?: boolean }) => {
updateEventType: async (options?: { shouldCheck: boolean }) => {
await page.getByTestId("update-eventtype").click();
options.shouldCheck &&
options?.shouldCheck &&
(await expect(
page.getByRole("button", { name: "Test Managed Event Type event type updated successfully" })
).toBeVisible());