Add waiting for 2 seconds before variations notice appear
This commit is contained in:
parent
f1171f4697
commit
54b27ca36e
|
@ -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' );
|
||||
|
||||
|
|
Loading…
Reference in New Issue