Skip to content

Commit ed83133

Browse files
author
Stas Puga
committed
Merge branch 'MAGETWO-90325' into 2.2-develop-mftf-pr3
2 parents 4706e9d + f4f1014 commit ed83133

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<fillField selector="{{CheckoutShippingSection.addPostcode}}" userInput="{{customerAddressVar.postcode}}" stepKey="enterPostcode"/>
2121
<fillField selector="{{CheckoutShippingSection.addTelephone}}" userInput="{{customerAddressVar.telephone}}" stepKey="enterTelephone"/>
2222
<click selector="{{CheckoutShippingSection.addSaveButton}}" stepKey="clickSaveAdressAdd"/>
23-
<see stepKey="seeRegionSelected" selector="{{CheckoutShippingSection.selectedShippingAddress}}" userInput="{{customerAddressVar.state}}"/>
2423
<waitForPageLoad stepKey="waitPageLoad"/>
24+
<see stepKey="seeRegionSelected" selector="{{CheckoutShippingSection.selectedShippingAddress}}" userInput="{{customerAddressVar.state}}"/>
2525
</actionGroup>
2626
</actionGroups>

app/code/Magento/Checkout/Test/Mftf/ActionGroup/CustomerCheckoutFillNewBillingAddressActionGroup.xml renamed to app/code/Magento/Checkout/Test/Mftf/ActionGroup/LoggedInUserCheckoutFillNewBillingAddressActionGroup.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
1010
xsi:noNamespaceSchemaLocation="../../../../../../../dev/tests/acceptance/vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Test/etc/actionGroupSchema.xsd">
1111
<!-- Logged in user checkout add new address Payment section -->
12-
<actionGroup name="CustomerCheckoutFillNewBillingAddressActionGroup">
12+
<actionGroup name="LoggedInUserCheckoutFillNewBillingAddressActionGroup">
1313
<arguments>
1414
<argument name="customerVar"/>
1515
<argument name="customerAddressVar"/>

app/code/Magento/Checkout/Test/Mftf/Section/CheckoutShippingSection.xml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@
2424
<element name="newAddressButton" type="button" selector="#checkout-step-shipping button"/>
2525
<element name="next" type="button" selector="[data-role='opc-continue']"/>
2626
<element name="newAdress" type="button" selector="button.action.action-show-popup"/>
27-
<element name="newAddressStreet" type="input" selector="#shipping-new-address-form input[name='street[0]']"/>
28-
<element name="newAddressCity" type="input" selector="#shipping-new-address-form input[name='city']"/>
29-
<element name="newAddressState" type="select" selector="#shipping-new-address-form select[name='region_id']"/>
30-
<element name="newAddressPostcode" type="input" selector="#shipping-new-address-form input[name='postcode']"/>
31-
<element name="newTelephone" type="input" selector="#shipping-new-address-form input[name='telephone']"/>
32-
<element name="newAddressCountry" type="select" selector="#shipping-new-address-form select[name='country_id']"/>
33-
<element name="saveButton" type="button" selector=".action.primary.action-save-address"/>
27+
<element name="addStreet" type="input" selector="#shipping-new-address-form input[name='street[0]']"/>
28+
<element name="addCity" type="input" selector="#shipping-new-address-form input[name='city']"/>
29+
<element name="addState" type="select" selector="#shipping-new-address-form select[name='region_id']"/>
30+
<element name="addPostcode" type="input" selector="#shipping-new-address-form input[name='postcode']"/>
31+
<element name="addTelephone" type="input" selector="#shipping-new-address-form input[name='telephone']"/>
32+
<element name="addcCountry" type="select" selector="#shipping-new-address-form select[name='country_id']"/>
33+
<element name="addSaveButton" type="button" selector=".action.primary.action-save-address"/>
3434
</section>
3535
</sections>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
<click selector="{{CheckoutPaymentSection.editAddressButton}}" stepKey="clickEditButton"/>
6161
<selectOption selector="{{CheckoutPaymentSection.newAddressSelect}}" userInput="New Address" stepKey="selectNewAddress"/>
6262
<!-- Step 6: Fill form with valid data and set: California -->
63-
<actionGroup ref="CustomerCheckoutFillNewBillingAddressActionGroup" stepKey="guestCheckoutFillingShippingAddress">
63+
<actionGroup ref="LoggedInUserCheckoutFillNewBillingAddressActionGroup" stepKey="guestCheckoutFillingShippingAddress">
6464
<argument name="customerVar" value="CustomerEntityOne" />
6565
<argument name="customerAddressVar" value="US_Address_CA" />
6666
</actionGroup>

0 commit comments

Comments
 (0)