Skip to content

Commit 17e902a

Browse files
committed
MFTF Stability control
1 parent e2d1558 commit 17e902a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818

1919
<waitForElementClickable selector="{{AdminOrderStoreScopeTreeSection.storeOption(storeView.name)}}" stepKey="waitForStoreOption" />
2020
<selectOption selector="{{AdminOrderStoreScopeTreeSection.storeTree}}" userInput="{{storeView.name}}" stepKey="selectStoreView"/>
21-
<selectOption selector="{{AdminOrderStoreScopeTreeSection.storeTree}}" userInput="{{storeView.name}}" stepKey="selectStoreView2"/>
2221
<waitForPageLoad stepKey="waitForLoad"/>
2322
<see selector="{{AdminHeaderSection.pageTitle}}" userInput="Create New Order" stepKey="seeNewOrderPageTitle"/>
23+
<waitForElementClickable selector="{{OrdersGridSection.addProducts}}" stepKey="waitForAddProductsButton" />
2424
</actionGroup>
2525
</actionGroups>

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@
2323
<waitForPageLoad stepKey="waitForStoresPageOpened"/>
2424
<waitForElementClickable stepKey="waitForStoreClickable" selector="{{AdminOrderStoreScopeTreeSection.storeOption(storeView.name)}}"/>
2525
<selectOption selector="{{AdminOrderStoreScopeTreeSection.storeTree}}" userInput="{{storeView.name}}" stepKey="chooseStore"/>
26-
<selectOption selector="{{AdminOrderStoreScopeTreeSection.storeTree}}" userInput="{{storeView.name}}" stepKey="chooseStore2"/>
27-
<scrollToTopOfPage stepKey="scrollToTop"/>
2826
<waitForPageLoad stepKey="waitForStoreToAppear"/>
27+
<scrollToTopOfPage stepKey="scrollToTop"/>
28+
<waitForElementClickable selector="{{OrdersGridSection.addProducts}}" stepKey="waitForAddProductsButton" />
2929
<click selector="{{OrdersGridSection.addProducts}}" stepKey="clickOnAddProducts"/>
3030
<waitForPageLoad stepKey="waitForProductsListForOrder"/>
3131
<click selector="{{AdminOrdersGridSection.productForOrder(product.sku)}}" stepKey="chooseTheProduct"/>

0 commit comments

Comments
 (0)