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"]');
|
||||
|
||||
// Choose the form template
|
||||
await Promise.all([
|
||||
page.waitForNavigation(),
|
||||
page
|
||||
.locator('[data-automation-id="select_template_template_1_popup"]')
|
||||
.click(),
|
||||
]);
|
||||
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForNavigation();
|
||||
await waitAndClick(
|
||||
page,
|
||||
'[data-automation-id="select_template_template_1_popup"]',
|
||||
);
|
||||
await page.waitForNavigation();
|
||||
|
||||
// Try to close the tutorial video popup
|
||||
try {
|
||||
|
Reference in New Issue
Block a user