Skip to content

Commit 3bf1e24

Browse files
Sahil.kumarSahil.kumar
authored andcommitted
ACQE-3955:[Removed unnecssary spaces]
1 parent 13588d8 commit 3bf1e24

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

app/code/Magento/Checkout/Test/Mftf/Test/StorefrontVerifyShipToShipMethodContainsSameDataTest.xml

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@
1818
<testCaseId value="AC-4628"/>
1919
</annotations>
2020
<before>
21-
<!-- Enable Flat Rate -->
22-
<magentoCLI command="config:set {{EnableFlatRateConfigData.path}} {{EnableFlatRateConfigData.value}}" stepKey="enableFlatRate"/>
2321
<!-- Enable free shipping -->
2422
<createData entity="FreeShippingMethodsSettingConfig" stepKey="freeShippingMethodsSettingConfig"/>
2523
<!-- create category -->
@@ -35,7 +33,6 @@
3533
<!-- delete simple product -->
3634
<deleteData createDataKey="createProduct" stepKey="deleteProduct"/>
3735
</after>
38-
3936
<!-- Step 1: Go to Storefront as Guest -->
4037
<!-- Step 2: Add simple product to shopping cart -->
4138
<amOnPage url="{{StorefrontProductPage.url($createProduct.custom_attributes[url_key]$)}}" stepKey="amOnSimpleProductPage"/>
@@ -49,27 +46,22 @@
4946
<waitForPageLoad stepKey="waitForTheFormIsOpened"/>
5047
<!-- verify shipping screen is opened -->
5148
<seeElement selector="{{CheckoutShippingSection.isShippingStep}}" stepKey="shippingStepIsOpened"/>
52-
5349
<!--Fill Shipping Form-->
5450
<!--Filling shipping information and click next-->
5551
<actionGroup ref="GuestCheckoutFillingShippingSectionActionGroup" stepKey="guestCheckoutFillingShipping">
5652
<argument name="shippingMethod" value="Flat Rate"/>
5753
</actionGroup>
58-
5954
<!--Review & Payments step of checkout is opened-->
6055
<!--Verify Billing address is correct-->
6156
<actionGroup ref="CheckShipToInformationInCheckoutActionGroup" stepKey="checkoutCheckShipToInformation">
6257
<argument name="customerVar" value="CustomerEntityOne" />
6358
<argument name="customerAddressVar" value="CustomerAddressSimple" />
6459
</actionGroup>
65-
6660
<!-- Assert Shipping Method = "Flat Rate" -->
6761
<see userInput="Flat Rate - Fixed" selector="{{CheckoutPaymentSection.orderSummaryShippingMethod}}" stepKey="assertShippingMethod"/>
68-
6962
<!-- Reload Page and wait for page to get reload -->
7063
<reloadPage stepKey="refreshPage"/>
7164
<waitForPageLoad stepKey="waitForPageLoad"/>
72-
7365
<!-- Check that "Ship To" block contains correct information -->
7466
<see selector="{{CheckoutPaymentSection.shipToInformation}}" userInput="{{CustomerAddressSimple.firstName}}" stepKey="seeShipToFirstName" />
7567
<see selector="{{CheckoutPaymentSection.shipToInformation}}" userInput="{{CustomerAddressSimple.lastName}}" stepKey="seeShipToLastName" />
@@ -78,31 +70,24 @@
7870
<see selector="{{CheckoutPaymentSection.shipToInformation}}" userInput="{{CustomerAddressSimple.state}}" stepKey="seeShipToState" />
7971
<see selector="{{CheckoutPaymentSection.shipToInformation}}" userInput="{{CustomerAddressSimple.postcode}}" stepKey="seeShipToPostcode" />
8072
<see selector="{{CheckoutPaymentSection.shipToInformation}}" userInput="{{CustomerAddressSimple.telephone}}" stepKey="seeShipToTelephone" />
81-
8273
<!-- Assert Shipping Method = "Flat Rate" -->
8374
<see userInput="Flat Rate - Fixed" selector="{{CheckoutPaymentSection.orderSummaryShippingMethod}}" stepKey="assertShippingMethodAgain"/>
84-
8575
<!-- click on Edit button next to "Ship To" Text -->
8676
<click selector="{{CheckoutPaymentSection.editShipToInformation}}" stepKey="clickOnEditButton"/>
87-
8877
<actionGroup ref="GuestCheckoutFillingShippingSectionActionGroup" stepKey="guestCheckoutFillingShippingSectionAgain">
8978
<argument name="customerVar" value="CustomerEntityOne"/>
9079
<argument name="customerAddressVar" value="CustomerAddressSimple"/>
9180
</actionGroup>
92-
9381
<!-- Check that "Ship To" block contains correct information -->
9482
<see selector="{{CheckoutPaymentSection.shipToInformation}}" userInput="{{CustomerEntityOne.firstname}}" stepKey="seeShipToFirstNameAgain" />
9583
<see selector="{{CheckoutPaymentSection.shipToInformation}}" userInput="{{CustomerEntityOne.lastname}}" stepKey="seeShipToLastNameAgain" />
9684
<see selector="{{CheckoutPaymentSection.shipToInformation}}" userInput="{{CustomerAddressSimple.city}}" stepKey="seeShipToCityAgain" />
97-
9885
<!-- Assert Shipping Method = "Free Shipping" -->
9986
<see userInput="Free Shipping - Free" selector="{{CheckoutPaymentSection.orderSummaryShippingMethod}}" stepKey="assertFreeShippingMethod"/>
10087
<!-- click on Edit button next to "Shipping Method" Text -->
10188
<click selector="{{CheckoutPaymentSection.editShipMethodInformation}}" stepKey="clickOnEditShippingMethodButton"/>
102-
10389
<!-- Assert that it has scrolled to Shipping Method text -->
10490
<scrollTo selector="{{CheckoutPaymentSection.shippingMethodTitle}}}" stepKey="scrollToShippingMethodTitle"/>
10591
<see selector="{{CheckoutPaymentSection.shippingMethodTitle}}" userInput="Shipping Methods" stepKey="seeShippingMethodTitle"/>
106-
10792
</test>
10893
</tests>

0 commit comments

Comments
 (0)