File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
dev/tests/functional/tests/app/Magento/Checkout/Test Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ class Sidebar extends Block
21
21
*
22
22
* @var string
23
23
*/
24
- protected $ qty = '//*[@class="product"]/*[@title="%s"]/following-sibling::*//*[@class="value qty"] ' ;
24
+ protected $ qty = '//*[@class="product"]/*[@title="%s"]/following-sibling::*//*[@class="item-qty cart-item- qty"] ' ;
25
25
26
26
/**
27
27
* Mini cart link selector
@@ -42,7 +42,7 @@ class Sidebar extends Block
42
42
*
43
43
* @var string
44
44
*/
45
- protected $ cartItemByProductName = './/*[contains(@class,"products minilist ")]//li[.//a[.="%s"]] ' ;
45
+ protected $ cartItemByProductName = './/*[contains(@class,"minicart-items ")]//li[.//a[.="%s"]] ' ;
46
46
47
47
/**
48
48
* Counter qty locator
@@ -91,7 +91,7 @@ public function getProductQty($productName)
91
91
{
92
92
$ this ->openMiniCart ();
93
93
$ productQty = sprintf ($ this ->qty , $ productName );
94
- return $ this ->_rootElement ->find ($ productQty , Locator::SELECTOR_XPATH )->getText ();
94
+ return $ this ->_rootElement ->find ($ productQty , Locator::SELECTOR_XPATH )->getValue ();
95
95
}
96
96
97
97
/**
Original file line number Diff line number Diff line change @@ -85,7 +85,6 @@ public function __inject(
85
85
*/
86
86
public function test ($ originalProduct , $ checkoutData )
87
87
{
88
- $ this ->markTestIncomplete ('Bug: MAGETWO-34259 ' );
89
88
// Preconditions:
90
89
$ product = $ this ->createProduct ($ originalProduct );
91
90
$ this ->addToCart ($ product );
You can’t perform that action at this time.
0 commit comments