Add in missing awaits that could have been causing tests to be flaky. (https://github.com/woocommerce/woocommerce-admin/pull/6800)
This commit is contained in:
parent
55add24ef3
commit
97d143b762
|
@ -63,7 +63,7 @@ export class OnboardingWizard extends BasePage {
|
|||
await this.clickButtonWithText( 'No thanks' );
|
||||
}
|
||||
|
||||
this.page.waitForNavigation( {
|
||||
await this.page.waitForNavigation( {
|
||||
waitUntil: 'networkidle0',
|
||||
timeout: 2000,
|
||||
} );
|
||||
|
|
|
@ -90,7 +90,7 @@ export class StoreDetailsSection extends BasePage {
|
|||
}
|
||||
|
||||
async selectSetupForClient() {
|
||||
setCheckbox( '.components-checkbox-control__input' );
|
||||
await setCheckbox( '.components-checkbox-control__input' );
|
||||
}
|
||||
|
||||
async checkClientSetupCheckbox( selected: boolean ) {
|
||||
|
|
Loading…
Reference in New Issue