Skip to content

Commit 8353229

Browse files
committed
MC-16371: [FT] CheckoutWithBraintreePaypalMinicartTest fails on Bamboo
1 parent f51164a commit 8353229

File tree

1 file changed

+5
-3
lines changed
  • dev/tests/functional/tests/app/Magento/Checkout/Test/Block/Cart

1 file changed

+5
-3
lines changed

dev/tests/functional/tests/app/Magento/Checkout/Test/Block/Cart/Sidebar.php

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -131,9 +131,11 @@ public function clickBraintreePaypalButton()
131131
$this->_rootElement->find($this->braintreePaypalCheckoutButton)
132132
->click();
133133
$browser = $this->browser;
134-
$this->browser->waitUntil(function () use ($browser, $windowsCount) {
135-
return count($browser->getWindowHandles()) === ($windowsCount + 1) ? true: null;
136-
});
134+
$this->browser->waitUntil(
135+
function () use ($browser, $windowsCount) {
136+
return count($browser->getWindowHandles()) === ($windowsCount + 1) ? true: null;
137+
}
138+
);
137139
}
138140

139141
/**

0 commit comments

Comments
 (0)