File tree Expand file tree Collapse file tree 6 files changed +9
-9
lines changed
functional/tests/app/Magento/Review/Test
integration/testsuite/Magento/Customer/Controller/Adminhtml Expand file tree Collapse file tree 6 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ public function __construct(
90
90
protected function _construct ()
91
91
{
92
92
parent ::_construct ();
93
- $ this ->setId ('reviwGrid ' );
93
+ $ this ->setId ('reviewGrid ' );
94
94
$ this ->setDefaultSort ('created_at ' );
95
95
}
96
96
Original file line number Diff line number Diff line change 9
9
<sections xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
10
10
xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Page/etc/SectionObject.xsd" >
11
11
<section name =" AdminReviewGridSection" >
12
- <element name =" nickname" type =" input" selector =" #reviwGrid_filter_nickname " />
13
- <element name =" status" type =" select" selector =" #reviwGrid_filter_status " />
12
+ <element name =" nickname" type =" input" selector =" #reviewGrid_filter_nickname " />
13
+ <element name =" status" type =" select" selector =" #reviewGrid_filter_status " />
14
14
<element name =" firstRow" type =" block" selector =" .data-grid tbody tr:nth-of-type(1)" />
15
- <element name =" massActions" type =" button" selector =" #reviwGrid_massaction -mass-select" />
16
- <element name =" massActionsSelect" type =" button" selector =" #reviwGrid_massaction -select" />
15
+ <element name =" massActions" type =" button" selector =" #reviewGrid_massaction -mass-select" />
16
+ <element name =" massActionsSelect" type =" button" selector =" #reviewGrid_massaction -select" />
17
17
<element name =" submit" type =" button" selector =" .admin__grid-massaction-form .action-default.scalable" />
18
18
<element name =" acceptModal" type =" button" selector =" .modal-popup.confirm button.action-accept" />
19
19
</section >
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ class Reviews extends Tab
18
18
*
19
19
* @var string
20
20
*/
21
- protected $ reviews = '#reviwGrid ' ;
21
+ protected $ reviews = '#reviewGrid ' ;
22
22
23
23
/**
24
24
* Returns product reviews grid.
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ class Grid extends GridAbstract
27
27
'selector ' => 'input[name="title"] ' ,
28
28
],
29
29
'status ' => [
30
- 'selector ' => '#reviwGrid_filter_status ' ,
30
+ 'selector ' => '#reviewGrid_filter_status ' ,
31
31
'input ' => 'select ' ,
32
32
],
33
33
'nickname ' => [
Original file line number Diff line number Diff line change 8
8
<config xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xsi : noNamespaceSchemaLocation =" ../../../../../../../vendor/magento/mtf/etc/pages.xsd" >
9
9
<page name =" ReviewIndex" area =" Adminhtml" mca =" review/product/index" module =" Magento_Review" >
10
10
<block name =" messagesBlock" class =" Magento\Backend\Test\Block\Messages" locator =" #messages" strategy =" css selector" />
11
- <block name =" reviewGrid" class =" Magento\Review\Test\Block\Adminhtml\Grid" locator =" #reviwGrid " strategy =" css selector" />
11
+ <block name =" reviewGrid" class =" Magento\Review\Test\Block\Adminhtml\Grid" locator =" #reviewGrid " strategy =" css selector" />
12
12
<block name =" reviewActions" class =" Magento\Backend\Test\Block\GridPageActions" locator =" .page-main-actions" strategy =" css selector" />
13
13
</page >
14
14
</config >
Original file line number Diff line number Diff line change @@ -444,7 +444,7 @@ public function testProductReviewsAction()
444
444
$ this ->getRequest ()->setParam ('id ' , 1 );
445
445
$ this ->dispatch ('backend/customer/index/productReviews ' );
446
446
$ body = $ this ->getResponse ()->getBody ();
447
- $ this ->assertContains ('<div id="reviwGrid " ' , $ body );
447
+ $ this ->assertContains ('<div id="reviewGrid " ' , $ body );
448
448
}
449
449
450
450
/**
You can’t perform that action at this time.
0 commit comments