File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
app/code/Magento/Checkout/Test/Mftf/Test Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 18
18
</annotations >
19
19
20
20
<before >
21
- <actionGroup ref = " LoginAsAdmin " stepKey =" loginToAdminPanel " />
21
+ <magentoCLI command = " downloadable:domains:add " arguments = " example.com static.magento.com " stepKey =" addDownloadableDomain " />
22
22
<createData entity =" ApiDownloadableProduct" stepKey =" createDownloadableProduct" >
23
23
<field key =" price" >20.00</field >
24
24
</createData >
38
38
</createData >
39
39
</before >
40
40
<after >
41
+ <magentoCLI command =" downloadable:domains:remove" arguments =" example.com static.magento.com" stepKey =" removeDownloadableDomain" />
41
42
<deleteData createDataKey =" createDownloadableProduct" stepKey =" deleteProduct" />
42
43
<deleteData createDataKey =" virtualProduct" stepKey =" deleteVirtualProduct" />
43
44
<deleteData createDataKey =" createCustomer" stepKey =" deleteCustomer" />
44
45
<deleteData createDataKey =" createSalesRule" stepKey =" deleteSalesRule" />
46
+ <actionGroup ref =" AdminOrdersGridClearFiltersActionGroup" stepKey =" clearOrderFilters" />
45
47
<actionGroup ref =" logout" stepKey =" logout" />
46
48
</after >
47
49
106
108
<seeElement selector =" {{StorefrontMiniCartSection.emptyMiniCart}}" stepKey =" assertEmptyCart" />
107
109
<grabTextFrom selector =" {{CheckoutSuccessMainSection.orderLink}}" stepKey =" orderId" />
108
110
111
+ <!-- Login to Admin Page -->
112
+ <actionGroup ref =" LoginAsAdmin" stepKey =" loginToAdminPanel" />
113
+
109
114
<!-- Open Order Index Page -->
110
115
<amOnPage url =" {{AdminOrdersPage.url}}" stepKey =" goToOrders" />
111
116
<waitForPageLoad stepKey =" waitForPageLoad5" />
127
132
<see selector =" {{AdminOrderTotalSection.grandTotal}}" userInput =" $15.00" stepKey =" seeGrandTotal" />
128
133
<see selector =" {{AdminOrderDetailsInformationSection.orderStatus}}" userInput =" Pending" stepKey =" seeOrderStatus" />
129
134
</test >
130
- </tests >
135
+ </tests >
You can’t perform that action at this time.
0 commit comments