Add delay to reduce e2e test flakiness in OBW - Business Details
This commit is contained in:
parent
44899677cf
commit
e0db9beb20
|
@ -135,6 +135,9 @@ const completeOnboardingWizard = async () => {
|
|||
|
||||
// Business Details section
|
||||
|
||||
// Temporarily add delay to reduce test flakiness
|
||||
await page.waitFor( 2000 );
|
||||
|
||||
// Query for the <SelectControl>s
|
||||
const selectControls = await page.$$( '.woocommerce-select-control' );
|
||||
expect( selectControls ).toHaveLength( 2 );
|
||||
|
|
Loading…
Reference in New Issue