Include waitForNavigation in the test
[MAILPOET-5539]
This commit is contained in:
@ -51,14 +51,12 @@ export async function formsAdding() {
|
|||||||
await waitAndClick(page, '[data-automation-id="create_new_form"]');
|
await waitAndClick(page, '[data-automation-id="create_new_form"]');
|
||||||
|
|
||||||
// Choose the form template
|
// Choose the form template
|
||||||
await Promise.all([
|
await page.waitForNavigation();
|
||||||
page.waitForNavigation(),
|
await waitAndClick(
|
||||||
page
|
page,
|
||||||
.locator('[data-automation-id="select_template_template_1_popup"]')
|
'[data-automation-id="select_template_template_1_popup"]',
|
||||||
.click(),
|
);
|
||||||
]);
|
await page.waitForNavigation();
|
||||||
|
|
||||||
await page.waitForLoadState('networkidle');
|
|
||||||
|
|
||||||
// Try to close the tutorial video popup
|
// Try to close the tutorial video popup
|
||||||
try {
|
try {
|
||||||
|
Reference in New Issue
Block a user