update extension count to 3

This commit is contained in:
Ron Rennick 2020-12-07 16:30:55 -04:00
parent a47cb707b3
commit a757ff2b53
1 changed files with 3 additions and 3 deletions

View File

@ -137,10 +137,10 @@ const completeOnboardingWizard = async () => {
// Query for the extensions toggles
const extensionsToggles = await page.$$( '.components-form-toggle__input' );
expect( extensionsToggles ).toHaveLength( 4 );
expect( extensionsToggles ).toHaveLength( 3 );
// Disable download of the 4 extensions
for ( let i = 0; i < 4; i++ ) {
// Disable download of the onboarding suggested extensions
for ( let i = 0; i < extensionsToggles.length; i++ ) {
await extensionsToggles[i].click();
}