FIx failing tests
parent
e1b29e3bd5
commit
635140bd73
|
@ -160,9 +160,9 @@ export function createBookingPageFixture(page: Page) {
|
||||||
}
|
}
|
||||||
await page.getByTestId("field-add-save").click();
|
await page.getByTestId("field-add-save").click();
|
||||||
},
|
},
|
||||||
updateEventType: async (options: { shouldCheck?: boolean }) => {
|
updateEventType: async (options?: { shouldCheck: boolean }) => {
|
||||||
await page.getByTestId("update-eventtype").click();
|
await page.getByTestId("update-eventtype").click();
|
||||||
options.shouldCheck &&
|
options?.shouldCheck &&
|
||||||
(await expect(
|
(await expect(
|
||||||
page.getByRole("button", { name: "Test Managed Event Type event type updated successfully" })
|
page.getByRole("button", { name: "Test Managed Event Type event type updated successfully" })
|
||||||
).toBeVisible());
|
).toBeVisible());
|
||||||
|
|
Loading…
Reference in New Issue