File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
dev/tests/functional/tests/app/Magento Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -37,6 +37,7 @@ public function __construct(CheckoutCart $checkoutCart)
37
37
public function run ()
38
38
{
39
39
$ this ->checkoutCart ->open ();
40
+ $ this ->checkoutCart ->getTotalsBlock ()->waitForShippingPriceBlock ();
40
41
$ this ->checkoutCart ->getTotalsBlock ()->waitForUpdatedTotals ();
41
42
$ currentWindow = $ this ->checkoutCart ->getCartBlock ()
42
43
->braintreePaypalCheckout ();
Original file line number Diff line number Diff line change @@ -247,7 +247,8 @@ public function isVisibleShippingPriceBlock()
247
247
*/
248
248
public function waitForUpdatedTotals ()
249
249
{
250
- $ this ->waitForElementVisible ($ this ->blockWaitElement );
250
+ // Code under may use JavaScript delay at this point as well.
251
+ sleep (1 );
251
252
$ this ->waitForElementNotVisible ($ this ->blockWaitElement );
252
253
}
253
254
You can’t perform that action at this time.
0 commit comments