Skip to content
Snippets Groups Projects
Commit 48645222 authored by Dmytro Vilchynskyi's avatar Dmytro Vilchynskyi
Browse files

MAGETWO-32250: Header

- fixed functional tests
parent a19c7656
No related merge requests found
...@@ -22,7 +22,7 @@ class ListProduct extends Block ...@@ -22,7 +22,7 @@ class ListProduct extends Block
* *
* @var string * @var string
*/ */
protected $productItem = './/*[contains(@class,"product-item-link") and contains(.,"%s")]/ancestor::li'; protected $productItem = './/*[contains(@class,"product-item-link") and .//*[text()="%s"]]/ancestor::li';
/** /**
* This member holds the class name of the regular price block. * This member holds the class name of the regular price block.
...@@ -43,7 +43,7 @@ class ListProduct extends Block ...@@ -43,7 +43,7 @@ class ListProduct extends Block
* *
* @var string * @var string
*/ */
protected $productDetailsSelector = '//*[contains(@class, "product details") and contains(.,"%s")]'; protected $productDetailsSelector = '//*[contains(@class, "product details") and .//*[text()="%s"]]';
/** /**
* Product name. * Product name.
......
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