We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52f0507 commit 1ec390dCopy full SHA for 1ec390d
dev/tests/functional/tests/app/Magento/Checkout/Test/Block/Cart/Sidebar/Item.php
@@ -102,9 +102,10 @@ public function editQty(array $checkoutData)
102
public function getQty()
103
{
104
$rootElement = $this->_rootElement;
105
+ $qtySelector = $this->qty;
106
$this->browser->waitUntil(
- function () use ($rootElement) {
107
- return $rootElement->find($this->qty) ? true : null;
+ function () use ($rootElement, $qtySelector) {
108
+ return $rootElement->find($qtySelector)->isVisible() ? true : null;
109
}
110
);
111
return $this->_rootElement->find($this->qty)->getValue();
0 commit comments