Skip to content

Commit e2d1558

Browse files
committed
MFTF Stability control
1 parent a597817 commit e2d1558

File tree

4 files changed

+7
-2
lines changed

4 files changed

+7
-2
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@
1616
<argument name="storeView" defaultValue="_defaultStore"/>
1717
</arguments>
1818

19-
<waitForElementVisible selector="{{AdminOrderStoreScopeTreeSection.storeOption(storeView.name)}}" stepKey="waitForStoreOption" />
19+
<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"/>
2122
<waitForPageLoad stepKey="waitForLoad"/>
2223
<see selector="{{AdminHeaderSection.pageTitle}}" userInput="Create New Order" stepKey="seeNewOrderPageTitle"/>
2324
</actionGroup>

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
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"/>
2627
<scrollToTopOfPage stepKey="scrollToTop"/>
2728
<waitForPageLoad stepKey="waitForStoreToAppear"/>
2829
<click selector="{{OrdersGridSection.addProducts}}" stepKey="clickOnAddProducts"/>

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@
2222
<click stepKey="chooseCustomer" selector="{{AdminOrdersGridSection.customerInOrdersSection(customer.firstname)}}"/>
2323
<waitForPageLoad stepKey="waitForStoresPageOpened"/>
2424
<waitForElementClickable selector="{{AdminOrderStoreScopeTreeSection.storeForOrder(storeView.name)}}" stepKey="waitForStoreClickable" />
25-
<click stepKey="chooseStore" selector="{{AdminOrderStoreScopeTreeSection.storeForOrder(storeView.name)}}"/>
25+
<selectOption selector="{{AdminOrderStoreScopeTreeSection.storeTree}}" userInput="{{storeView.name}}" stepKey="chooseStore"/>
26+
<selectOption selector="{{AdminOrderStoreScopeTreeSection.storeTree}}" userInput="{{storeView.name}}" stepKey="chooseStore2"/>
2627
<scrollToTopOfPage stepKey="scrollToTop"/>
2728
<click selector="{{OrdersGridSection.addProducts}}" stepKey="clickOnAddProducts"/>
2829
<waitForPageLoad stepKey="waitForProductsListForOrder"/>

app/code/Magento/SalesRule/Test/Mftf/Test/StorefrontApplyCartPriceRuleToBundleChildProductTest.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@
113113
<actionGroup ref="StorefrontOpenCartFromMinicartActionGroup" stepKey="openCart"/>
114114
<waitForPageLoad stepKey="waitForDetailsOpen"/>
115115
<!--Check all products and Cart Subtotal and Discount is only for SimpleProduct1-->
116+
<actionGroup ref="StorefrontCartEstimateShippingAndTaxActionGroup" stepKey="fillEstimateShippingAndTaxSection" />
116117
<actionGroup ref="StorefrontCheckCartTotalWithDiscountCategoryActionGroup" stepKey="checkDiscountIsAppliedOnlyForSimple1productOnly">
117118
<argument name="subtotal" value="12.00"/>
118119
<argument name="shipping" value="5.00"/>
@@ -137,6 +138,7 @@
137138
<actionGroup ref="StorefrontOpenCartFromMinicartActionGroup" stepKey="openCart2"/>
138139
<waitForPageLoad stepKey="waitForDetailsOpen2"/>
139140
<!--Check all products and Cart Subtotal and Discount is only for SimpleProduct2-->
141+
<actionGroup ref="StorefrontCartEstimateShippingAndTaxActionGroup" stepKey="fillEstimateShippingAndTaxSectionForSimple2" />
140142
<actionGroup ref="StorefrontCheckCartTotalWithDiscountCategoryActionGroup" stepKey="checkDiscountIsAppliedOnlyForSimple2productOnly">
141143
<argument name="subtotal" value="10.00"/>
142144
<argument name="shipping" value="5.00"/>

0 commit comments

Comments
 (0)