File tree Expand file tree Collapse file tree 2 files changed +7
-9
lines changed
dev/tests/functional/tests/app/Magento
Catalog/Test/Block/Category
Sales/Test/Block/Adminhtml/Order/View Expand file tree Collapse file tree 2 files changed +7
-9
lines changed Original file line number Diff line number Diff line change 7
7
namespace Magento \Catalog \Test \Block \Category ;
8
8
9
9
use Magento \Mtf \Block \Block ;
10
+ use Magento \Mtf \Client \ElementInterface ;
10
11
11
12
/**
12
- * Class ProductPagination
13
- * Pagination page product list
14
- *
15
- * @package Magento\Catalog\Test\Block\Category
13
+ * Pagination page product list.
16
14
*/
17
15
class ProductPagination extends Block
18
16
{
19
17
/**
20
- * Selector next active element
18
+ * Selector next active element.
21
19
*
22
20
* @var string
23
21
*/
24
22
protected $ nextPageSelector = '.item.current + .item a ' ;
25
23
26
24
/**
27
- * Getting the active element to go to the next page
25
+ * Getting the active element to go to the next page.
28
26
*
29
- * @return \Magento\Mtf\Client\ ElementInterface|null
27
+ * @return ElementInterface|null
30
28
*/
31
29
public function getNextPage ()
32
30
{
Original file line number Diff line number Diff line change @@ -78,15 +78,15 @@ public function getPrice(InjectableFixture $product)
78
78
$ valueKey = $ checkoutOption ['value ' ];
79
79
$ attributeName = $ attributesData [$ titleKey ]['frontend_label ' ];
80
80
$ optionLabel = $ attributesData [$ titleKey ]['options ' ][$ valueKey ]['label ' ];
81
- $ optionsDetails [] = "{$ attributeName } {$ optionLabel }" ;
81
+ $ optionsDetails [] = "{$ attributeName }{$ optionLabel }" ;
82
82
$ matrixKey [] = "{$ titleKey }: {$ valueKey }" ;
83
83
84
84
$ optionsPrice += $ attributesData [$ titleKey ]['options ' ][$ valueKey ]['pricing_value ' ];
85
85
}
86
86
$ optionsDetails = implode (' ' , $ optionsDetails );
87
87
$ matrixKey = implode (' ' , $ matrixKey );
88
88
89
- $ productDisplay = $ productName . ' SKU: ' . $ matrix [$ matrixKey ]['sku ' ] . ' ' . $ optionsDetails ;
89
+ $ productDisplay = $ productName . 'SKU: ' . $ matrix [$ matrixKey ]['sku ' ] . $ optionsDetails ;
90
90
} else {
91
91
$ productDisplay = $ productName . 'SKU: ' . $ product ->getSku ();
92
92
}
You can’t perform that action at this time.
0 commit comments