Update regularBookings.ts
parent
f545f879b1
commit
170ddbb626
|
@ -194,7 +194,7 @@ export function createBookingPageFixture(page: Page) {
|
||||||
await eventTypePage.getByPlaceholder(reschedulePlaceholderText).click();
|
await eventTypePage.getByPlaceholder(reschedulePlaceholderText).click();
|
||||||
await eventTypePage.getByPlaceholder(reschedulePlaceholderText).fill("Test reschedule");
|
await eventTypePage.getByPlaceholder(reschedulePlaceholderText).fill("Test reschedule");
|
||||||
await eventTypePage.getByTestId("confirm-reschedule-button").click();
|
await eventTypePage.getByTestId("confirm-reschedule-button").click();
|
||||||
await eventTypePage.waitForTimeout(200);
|
await eventTypePage.waitForTimeout(400);
|
||||||
if (
|
if (
|
||||||
await eventTypePage.getByRole("heading", { name: "Could not reschedule the meeting." }).isVisible()
|
await eventTypePage.getByRole("heading", { name: "Could not reschedule the meeting." }).isVisible()
|
||||||
) {
|
) {
|
||||||
|
@ -256,7 +256,7 @@ export function createBookingPageFixture(page: Page) {
|
||||||
options.isRequired && (await fillQuestion(eventTypePage, secondQuestion, customLocators));
|
options.isRequired && (await fillQuestion(eventTypePage, secondQuestion, customLocators));
|
||||||
|
|
||||||
await eventTypePage.getByTestId(confirmButton).click();
|
await eventTypePage.getByTestId(confirmButton).click();
|
||||||
await eventTypePage.waitForTimeout(200);
|
await eventTypePage.waitForTimeout(400);
|
||||||
if (await eventTypePage.getByRole("heading", { name: "Could not book the meeting." }).isVisible()) {
|
if (await eventTypePage.getByRole("heading", { name: "Could not book the meeting." }).isVisible()) {
|
||||||
await eventTypePage.getByTestId("back").click();
|
await eventTypePage.getByTestId("back").click();
|
||||||
await eventTypePage.getByTestId("time").last().click();
|
await eventTypePage.getByTestId("time").last().click();
|
||||||
|
|
Loading…
Reference in New Issue