Skip to content

Commit f213506

Browse files
mohit-adobeKarishmathakare19
authored andcommitted
ACQE-8689: [MFTF TESTS] AdminVerifyBehaviorOfDefaultStatusForProcessingStateTest
- Revert the change of ACQE-8490, because it is causing failure of other test
1 parent 369e445 commit f213506

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

app/code/Magento/Sales/Test/Mftf/Section/AdminOrderStatusGridSection.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!--
3-
/**
4-
* Copyright 2019 Adobe
5-
* All Rights Reserved.
6-
*/
3+
/**
4+
* Copyright 2019 Adobe
5+
* All Rights Reserved.
6+
*/
77
-->
88

99
<sections xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
@@ -17,7 +17,7 @@
1717
<element name="statusCode" type="input" selector="#sales_order_status_grid_filter_status"/>
1818
<element name="resetFilter" type="button" selector="//div[contains(concat(' ',normalize-space(@class),' '),' action-reset ')]" timeout="30"/>
1919
<element name="search" type="button" selector="[data-action='grid-filter-apply']" timeout="30"/>
20-
<element name="gridCell" type="text" selector="//table[@id='sales_order_status_grid_table']/tbody/tr[{{row}}]/td['{{cellName}}']" parameterized="true" timeout="30"/>
20+
<element name="gridCell" type="text" selector="//tr['{{row}}']//td[count(//div[contains(concat(' ',normalize-space(@class),' '),' admin__data-grid-wrap ')]//tr//th[contains(., '{{cellName}}')]/preceding-sibling::th) +1 ]" parameterized="true" timeout="30"/>
2121
<element name="stateCodeAndTitleDataColumn" type="input" selector="[data-role=row] [data-column=state]"/>
2222
<element name="unassign" type="text" selector="[data-role=row] [data-column=unassign] a" />
2323
</section>

app/code/Magento/Sales/Test/Mftf/Test/AssignCustomOrderStatusNotVisibleOnStorefrontTest.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!--
3-
/**
4-
* Copyright 2019 Adobe
5-
* All Rights Reserved.
6-
*/
3+
/**
4+
* Copyright 2019 Adobe
5+
* All Rights Reserved.
6+
*/
77
-->
88

99
<tests xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
@@ -110,7 +110,7 @@
110110
<argument name="statusLabel" value="{{defaultOrderStatus.label}}"/>
111111
<argument name="statusCode" value="{{defaultOrderStatus.status}}"/>
112112
</actionGroup>
113-
<see selector="{{AdminOrderStatusGridSection.gridCell('1', '1')}}" userInput="{{defaultOrderStatus.label}}" stepKey="seeOrderStatusInOrderGrid"/>
113+
<see selector="{{AdminOrderStatusGridSection.gridCell('1', 'State Code and Title')}}" userInput="new[{{defaultOrderStatus.label}}]" stepKey="seeOrderStatusInOrderGrid"/>
114114

115115
<!-- Create order and grab order id -->
116116
<actionGroup ref="AdminNavigateToNewOrderPageExistingCustomerActionGroup" stepKey="navigateToNewOrderWithExistingCustomer">

0 commit comments

Comments
 (0)