File tree Expand file tree Collapse file tree 4 files changed +7
-2
lines changed
Sales/Test/Mftf/ActionGroup Expand file tree Collapse file tree 4 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 16
16
<argument name =" storeView" defaultValue =" _defaultStore" />
17
17
</arguments >
18
18
19
- <waitForElementVisible selector =" {{AdminOrderStoreScopeTreeSection.storeOption(storeView.name)}}" stepKey =" waitForStoreOption" />
19
+ <waitForElementClickable selector =" {{AdminOrderStoreScopeTreeSection.storeOption(storeView.name)}}" stepKey =" waitForStoreOption" />
20
20
<selectOption selector =" {{AdminOrderStoreScopeTreeSection.storeTree}}" userInput =" {{storeView.name}}" stepKey =" selectStoreView" />
21
+ <selectOption selector =" {{AdminOrderStoreScopeTreeSection.storeTree}}" userInput =" {{storeView.name}}" stepKey =" selectStoreView2" />
21
22
<waitForPageLoad stepKey =" waitForLoad" />
22
23
<see selector =" {{AdminHeaderSection.pageTitle}}" userInput =" Create New Order" stepKey =" seeNewOrderPageTitle" />
23
24
</actionGroup >
Original file line number Diff line number Diff line change 23
23
<waitForPageLoad stepKey =" waitForStoresPageOpened" />
24
24
<waitForElementClickable stepKey =" waitForStoreClickable" selector =" {{AdminOrderStoreScopeTreeSection.storeOption(storeView.name)}}" />
25
25
<selectOption selector =" {{AdminOrderStoreScopeTreeSection.storeTree}}" userInput =" {{storeView.name}}" stepKey =" chooseStore" />
26
+ <selectOption selector =" {{AdminOrderStoreScopeTreeSection.storeTree}}" userInput =" {{storeView.name}}" stepKey =" chooseStore2" />
26
27
<scrollToTopOfPage stepKey =" scrollToTop" />
27
28
<waitForPageLoad stepKey =" waitForStoreToAppear" />
28
29
<click selector =" {{OrdersGridSection.addProducts}}" stepKey =" clickOnAddProducts" />
Original file line number Diff line number Diff line change 22
22
<click stepKey =" chooseCustomer" selector =" {{AdminOrdersGridSection.customerInOrdersSection(customer.firstname)}}" />
23
23
<waitForPageLoad stepKey =" waitForStoresPageOpened" />
24
24
<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" />
26
27
<scrollToTopOfPage stepKey =" scrollToTop" />
27
28
<click selector =" {{OrdersGridSection.addProducts}}" stepKey =" clickOnAddProducts" />
28
29
<waitForPageLoad stepKey =" waitForProductsListForOrder" />
Original file line number Diff line number Diff line change 113
113
<actionGroup ref =" StorefrontOpenCartFromMinicartActionGroup" stepKey =" openCart" />
114
114
<waitForPageLoad stepKey =" waitForDetailsOpen" />
115
115
<!-- Check all products and Cart Subtotal and Discount is only for SimpleProduct1-->
116
+ <actionGroup ref =" StorefrontCartEstimateShippingAndTaxActionGroup" stepKey =" fillEstimateShippingAndTaxSection" />
116
117
<actionGroup ref =" StorefrontCheckCartTotalWithDiscountCategoryActionGroup" stepKey =" checkDiscountIsAppliedOnlyForSimple1productOnly" >
117
118
<argument name =" subtotal" value =" 12.00" />
118
119
<argument name =" shipping" value =" 5.00" />
137
138
<actionGroup ref =" StorefrontOpenCartFromMinicartActionGroup" stepKey =" openCart2" />
138
139
<waitForPageLoad stepKey =" waitForDetailsOpen2" />
139
140
<!-- Check all products and Cart Subtotal and Discount is only for SimpleProduct2-->
141
+ <actionGroup ref =" StorefrontCartEstimateShippingAndTaxActionGroup" stepKey =" fillEstimateShippingAndTaxSectionForSimple2" />
140
142
<actionGroup ref =" StorefrontCheckCartTotalWithDiscountCategoryActionGroup" stepKey =" checkDiscountIsAppliedOnlyForSimple2productOnly" >
141
143
<argument name =" subtotal" value =" 10.00" />
142
144
<argument name =" shipping" value =" 5.00" />
You can’t perform that action at this time.
0 commit comments