Add 1 second wait time between 2 UI blocks / AJAX calls

This commit is contained in:
Julia Amosova 2020-01-22 16:52:35 +00:00
parent 2e61321e2a
commit 26ade8bb1f
2 changed files with 2 additions and 0 deletions

View File

@ -94,6 +94,7 @@ describe( 'Add New Variable Product Page', () => {
// Wait for attribute form to save (triggers 2 UI blocks)
await uiUnblocked();
await page.waitFor( 1000 );
await uiUnblocked();
// Create variations from attributes

View File

@ -78,6 +78,7 @@ const createVariableProduct = async () => {
// Wait for attribute form to save (triggers 2 UI blocks)
await uiUnblocked();
await page.waitFor( 1000 );
await uiUnblocked();
// Create variations from attributes