File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -46,6 +46,8 @@ export class CheckoutPage {
4646
4747 if ( addressCount > 1 ) {
4848 await addressSelect . selectOption ( { index : 0 } )
49+ await addressSelect . dispatchEvent ( 'change' )
50+ await this . page . waitForTimeout ( 200 )
4951 await this . page . waitForLoadState ( 'networkidle' )
5052 return
5153 }
@@ -81,12 +83,13 @@ export class CheckoutPage {
8183
8284 async continue ( expectedStep ) {
8385 await this . page . getByTestId ( 'continue' ) . click ( )
84- await this . page . waitForTimeout ( 200 )
86+ await this . page . waitForTimeout ( 500 )
8587 await this . page . waitForLoadState ( 'networkidle' )
8688 await this . page . waitForURL ( '**/' + expectedStep )
8789 if ( expectedStep != 'success' ) {
8890 await this . continueButtonVisible ( )
8991 }
92+ await this . page . waitForTimeout ( 500 )
9093 }
9194
9295 async continueButtonVisible ( ) {
You can’t perform that action at this time.
0 commit comments