Add waiting for 2 seconds before variations notice appear

This commit is contained in:
Julia Amosova 2020-02-13 17:24:13 +00:00
parent f1171f4697
commit 54b27ca36e
1 changed files with 1 additions and 0 deletions

View File

@ -74,6 +74,7 @@ describe( 'Add New Variable Product Page', () => {
} );
it( 'should make sure that variations were created', async () => {
await page.waitFor( 2000 ); // waitForSelector fails here...To-Do
// 'Variations price is not set...' notice should be displayed
await page.waitForSelector( '.woocommerce-notice-invalid-variation' );