Skip to content

Commit 305ad20

Browse files
committed
Merge branch 'MC-6405' into 'MC-18826'
MC-18826: Increase test coverage for Cart & Checkout and Order Processing functional areas See merge request magn-m23/magn-m23!1729
2 parents 48f95f4 + 4ee2048 commit 305ad20

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

app/code/Magento/Shipping/Test/Mftf/Test/StorefrontDisplayTableRatesShippingMethodForAETest.xml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
<deleteData createDataKey="createProduct" stepKey="deleteProduct"/>
3131
<deleteData createDataKey="createCategory" stepKey="deleteCategory"/>
3232
<deleteData createDataKey="createCustomer" stepKey="deleteCustomer"/>
33-
<comment userInput="Rollback config" stepKey="rollbackConfigComment"/>
33+
<!--Rollback config-->
3434
<actionGroup ref="AdminOpenShippingMethodsConfigPageActionGroup" stepKey="openShippingMethodSystemConfigPage"/>
3535
<actionGroup ref="AdminSwitchWebsiteActionGroup" stepKey="AdminSwitchStoreViewToMainWebsite">
3636
<argument name="website" value="_defaultWebsite"/>
@@ -41,36 +41,36 @@
4141
<actionGroup ref="AdminSaveConfigActionGroup" stepKey="saveSystemConfig"/>
4242
<actionGroup ref="logout" stepKey="logout"/>
4343
</after>
44-
<comment userInput="Admin Configuration: enable Table Rates and import CSV file with the rates" stepKey="prepareAdminConfigurationComment"/>
44+
<!--Admin Configuration: enable Table Rates and import CSV file with the rates-->
4545
<actionGroup ref="AdminOpenShippingMethodsConfigPageActionGroup" stepKey="openShippingMethodConfigPage"/>
4646
<actionGroup ref="AdminSwitchWebsiteActionGroup" stepKey="AdminSwitchStoreView">
4747
<argument name="website" value="_defaultWebsite"/>
4848
</actionGroup>
4949
<actionGroup ref="AdminChangeTableRatesShippingMethodStatusActionGroup" stepKey="enableTableRatesShippingMethod"/>
5050
<attachFile selector="{{AdminShippingMethodTableRatesSection.importFile}}" userInput="tablerates.csv" stepKey="attachFileForImport"/>
5151
<actionGroup ref="AdminSaveConfigActionGroup" stepKey="saveConfig"/>
52-
<comment userInput="Login as created customer" stepKey="loginAsCustomerComment"/>
52+
<!--Login as created customer-->
5353
<actionGroup ref="LoginToStorefrontActionGroup" stepKey="loginAsCustomer">
5454
<argument name="Customer" value="$$createCustomer$$"/>
5555
</actionGroup>
56-
<comment userInput="Add the created product to the shopping cart" stepKey="addProductToCartComment"/>
56+
<!--Add the created product to the shopping cart-->
5757
<actionGroup ref="AddSimpleProductToCart" stepKey="addProductToCart">
5858
<argument name="product" value="$$createProduct$$"/>
5959
</actionGroup>
60-
<comment userInput="Proceed to Checkout from the mini cart" stepKey="proceedToCheckoutComment"/>
60+
<!--Proceed to Checkout from the mini cart-->
6161
<actionGroup ref="GoToCheckoutFromMinicartActionGroup" stepKey="goToCheckoutFromMinicart" />
62-
<comment userInput="Shipping Method: select table rate" stepKey="assertShippingMethodComment"/>
62+
<!--Shipping Method: select table rate-->
6363
<actionGroup ref="AssertStoreFrontShippingMethodAvailableActionGroup" stepKey="assertShippingMethodAvailable">
6464
<argument name="shippingMethodName" value="Best Way"/>
6565
</actionGroup>
6666
<actionGroup ref="SetShippingMethodActionGroup" stepKey="setShippingMethodTableRate">
6767
<argument name="shippingMethodName" value="Best Way"/>
6868
</actionGroup>
69-
<comment userInput="Proceed to Review and Payments section" stepKey="proceedToReviewAndPaymentsComment"/>
69+
<!--Proceed to Review and Payments section-->
7070
<click selector="{{CheckoutShippingSection.next}}" stepKey="clickToSaveShippingInfo"/>
7171
<waitForLoadingMaskToDisappear stepKey="waitForLoadingMaskAfterClickNext"/>
7272
<waitForPageLoad stepKey="waitForReviewAndPaymentsPageIsLoaded"/>
73-
<comment userInput="Place order and assert the message of success" stepKey="placeOrderComment"/>
74-
<actionGroup ref="ClickPlaceOrderActionGroup" stepKey="clickOnPlaceOrder"/>
73+
<!--Place order and assert the message of success-->
74+
<actionGroup ref="ClickPlaceOrderActionGroup" stepKey="placeOrderProductSuccessful"/>
7575
</test>
7676
</tests>

0 commit comments

Comments
 (0)