Skip to content

Commit 9a9841f

Browse files
authored
Update AdminOrderCancellationReasonsConfigRemoveAllTest.xml
1 parent aeba52a commit 9a9841f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

app/code/Magento/OrderCancellation/Test/Mftf/Test/AdminOrderCancellationReasonsConfigRemoveAllTest.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,11 @@
2222
<actionGroup ref="AdminLoginActionGroup" stepKey="loginAsAdmin"/>
2323
</before>
2424
<after>
25-
<click selector="{{AdminOrderCancellationConfigSection.salesCancellationHead}}" stepKey="clickElementAgainToCloseTheSection"/>
2625
<actionGroup ref="AdminLogoutActionGroup" stepKey="logout"/>
2726
</after>
2827
<amOnPage url="{{AdminOrderCancellationConfigPage.url}}" stepKey="navigateToConfigurationPage"/>
2928
<waitForPageLoad time="30" stepKey="waitForAdminSalesConfigPageLoad"/>
30-
<waitForElementClickable selector="{{AdminOrderCancellationConfigSection.salesCancellationHead}}" stepKey="waitForElementToBeClickable"/>
31-
<click selector="{{AdminOrderCancellationConfigSection.salesCancellationHead}}" stepKey="clickElementToExpand"/>
29+
<conditionalClick selector="{{AdminOrderCancellationConfigSection.salesCancellationHead}}" dependentSelector="{{AdminOrderCancellationConfigSection.systemValueForSalesCancellationReasons}}" visible="false" stepKey="clickElementToExpand"/>
3230
<uncheckOption selector="{{AdminOrderCancellationConfigSection.systemValueForSalesCancellationReasons}}" stepKey="uncheckUseSystemValue"/>
3331
<click selector="{{AdminOrderCancellationConfigSection.deleteFirstReason}}" stepKey="deleteDefaultReason1"/>
3432
<click selector="{{AdminOrderCancellationConfigSection.deleteFirstReason}}" stepKey="deleteDefaultReason2"/>

0 commit comments

Comments
 (0)