Skip to content

Commit a33d8c8

Browse files
author
Stanislav Idolov
committed
MAGETWO-60391: [FT] Magento\Checkout\Test\TestCase\UpdateShoppingCartTest fails randomly on CI
1 parent 9cbd930 commit a33d8c8

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,12 @@ public function editQty(array $checkoutData)
101101
*/
102102
public function getQty()
103103
{
104+
$rootElement = $this->_rootElement;
105+
$this->browser->waitUntil(
106+
function () use ($rootElement) {
107+
return $rootElement->find($this->qty) ? true : null;
108+
}
109+
);
104110
return $this->_rootElement->find($this->qty)->getValue();
105111
}
106112

dev/tests/functional/tests/app/Magento/Checkout/Test/TestCase/UpdateShoppingCartTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ class UpdateShoppingCartTest extends Injectable
3333
{
3434
/* tags */
3535
const MVP = 'yes';
36-
const STABLE = 'no';
3736
const SEVERITY = 'S0';
3837
/* end tags */
3938

0 commit comments

Comments
 (0)