Skip to content
Snippets Groups Projects
Commit c8bf4d7b authored by okarpenko's avatar okarpenko
Browse files

Merge branch 'MAGETWO-32631-by-andrii' of...

Merge branch 'MAGETWO-32631-by-andrii' of https://github.corp.ebay.com/magento-south/magento2ce into MAGETWO-32631-by-andrii
parents 5626f1b4 0af9f816
No related merge requests found
......@@ -21,7 +21,7 @@ class Sidebar extends Block
*
* @var string
*/
protected $qty = '//*[@class="product"]/*[@title="%s"]/following-sibling::*//*[@class="value qty"]';
protected $qty = '//*[@class="product"]/*[@title="%s"]/following-sibling::*//*[@class="item-qty cart-item-qty"]';
/**
* Mini cart link selector
......@@ -42,7 +42,7 @@ class Sidebar extends Block
*
* @var string
*/
protected $cartItemByProductName = './/*[contains(@class,"products minilist")]//li[.//a[.="%s"]]';
protected $cartItemByProductName = './/*[contains(@class,"minicart-items")]//li[.//a[.="%s"]]';
/**
* Counter qty locator
......@@ -91,7 +91,7 @@ class Sidebar extends Block
{
$this->openMiniCart();
$productQty = sprintf($this->qty, $productName);
return $this->_rootElement->find($productQty, Locator::SELECTOR_XPATH)->getText();
return $this->_rootElement->find($productQty, Locator::SELECTOR_XPATH)->getValue();
}
/**
......
......@@ -85,7 +85,6 @@ class UpdateProductFromMiniShoppingCartEntityTest extends Injectable
*/
public function test($originalProduct, $checkoutData)
{
$this->markTestIncomplete('Bug: MAGETWO-34259');
// Preconditions:
$product = $this->createProduct($originalProduct);
$this->addToCart($product);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment