Skip to content

Commit 725c0ac

Browse files
committed
MFTF Stability control
- click directly on input field
1 parent 662eb5c commit 725c0ac

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/code/Magento/Sales/Test/Mftf/ActionGroup/NavigateToNewOrderPageExistingCustomerActionGroup.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
is used the step with Store selection is absent. That is why click is conditional.
3939
-->
4040
<wait time="5" stepKey="wait" />
41-
<conditionalClick selector="{{AdminOrderStoreScopeTreeSection.storeForOrder(storeView.name)}}" dependentSelector="{{AdminOrderStoreScopeTreeSection.storeForOrder(storeView.name)}}" visible="true" stepKey="selectStoreViewIfAppears"/>
41+
<conditionalClick selector="{{AdminOrderStoreScopeTreeSection.storeOption(storeView.name)}}" dependentSelector="{{AdminOrderStoreScopeTreeSection.storeOption(storeView.name)}}" visible="true" stepKey="selectStoreViewIfAppears"/>
4242
<waitForPageLoad stepKey="waitForCreateOrderPageLoadAfterStoreSelect"/>
4343
<see selector="{{AdminHeaderSection.pageTitle}}" userInput="Create New Order" stepKey="seeNewOrderPageTitle"/>
4444
</actionGroup>

app/code/Magento/Sales/Test/Mftf/ActionGroup/NavigateToNewOrderPageNewCustomerActionGroup.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
is used the step with Store selection is absent. That is why click is conditional.
3030
-->
3131
<wait time="5" stepKey="wait" />
32-
<conditionalClick selector="{{AdminOrderStoreScopeTreeSection.storeForOrder(storeView.name)}}" dependentSelector="{{AdminOrderStoreScopeTreeSection.storeForOrder(storeView.name)}}" visible="true" stepKey="selectStoreViewIfAppears"/>
32+
<conditionalClick selector="{{AdminOrderStoreScopeTreeSection.storeOption(storeView.name)}}" dependentSelector="{{AdminOrderStoreScopeTreeSection.storeOption(storeView.name)}}" visible="true" stepKey="selectStoreViewIfAppears"/>
3333
<waitForPageLoad stepKey="waitForCreateOrderPageLoadAfterStoreSelect"/>
3434
<see selector="{{AdminHeaderSection.pageTitle}}" userInput="Create New Order" stepKey="seeNewOrderPageTitle"/>
3535
</actionGroup>

0 commit comments

Comments
 (0)