|
9 | 9 | xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/testSchema.xsd">
|
10 | 10 | <test name="StorefrontUpdateCustomerDefaultShippingAddressFromBlockTest">
|
11 | 11 | <annotations>
|
12 |
| - <features value="Customer address"/> |
13 |
| - <stories value="Implement handling of large number of addresses on storefront Address book"/> |
14 |
| - <title value="Add default customer address via the Storefront611"/> |
15 |
| - <description value="Storefront user should be able to create a new default address via the storefront"/> |
| 12 | + <features value="Customer"/> |
| 13 | + <stories value="Update Customer Address"/> |
| 14 | + <title value="Update customer default shipping address via the Storefront"/> |
| 15 | + <description value="Customer should be able to update a default shipping address via the Storefront"/> |
16 | 16 | <severity value="MAJOR"/>
|
17 |
| - <testCaseId value="MAGETWO-97501"/> |
| 17 | + <testCaseId value="MC-40247"/> |
| 18 | + <useCaseId value="MAGETWO-97504"/> |
18 | 19 | <group value="customer"/>
|
19 | 20 | <group value="update"/>
|
20 |
| - <skip> |
21 |
| - <issueId value="MAGETWO-97504"/> |
22 |
| - </skip> |
23 | 21 | </annotations>
|
24 | 22 | <before>
|
25 | 23 | <createData entity="Simple_US_Customer_With_Different_Billing_Shipping_Addresses" stepKey="createCustomer"/>
|
|
30 | 28 |
|
31 | 29 | <!--Log in to Storefront as Customer 1 -->
|
32 | 30 | <actionGroup ref="LoginToStorefrontActionGroup" stepKey="signUp">
|
33 |
| - <argument name="Customer" value="$$createCustomer$$"/> |
| 31 | + <argument name="Customer" value="$createCustomer$"/> |
34 | 32 | </actionGroup>
|
35 |
| - <amOnPage url="customer/address/" stepKey="OpenCustomerAddNewAddress"/> |
36 |
| - <click stepKey="ClickEditDefaultShippingAddress" selector="{{StorefrontCustomerAddressesSection.editDefaultShippingAddress}}"/> |
37 |
| - <fillField stepKey="fillFirstName" userInput="EditedFirstNameShipping" selector="{{StorefrontCustomerAddressFormSection.firstName}}"/> |
38 |
| - <fillField stepKey="fillLastName" userInput="EditedLastNameShipping" selector="{{StorefrontCustomerAddressFormSection.lastName}}"/> |
39 |
| - <click stepKey="saveCustomerAddress" selector="{{StorefrontCustomerAddressFormSection.saveAddress}}"/> |
40 |
| - <see userInput="You saved the address." stepKey="verifyAddressAdded"/> |
| 33 | + <amOnPage url="{{StorefrontCustomerAddressesPage.url}}" stepKey="OpenCustomerAddNewAddress"/> |
| 34 | + <waitForElementVisible selector="{{StorefrontCustomerAddressesSection.editDefaultShippingAddress}}" stepKey="waitForChangeShippingAddressLinkVisible"/> |
| 35 | + <click selector="{{StorefrontCustomerAddressesSection.editDefaultShippingAddress}}" stepKey="ClickEditDefaultShippingAddress"/> |
| 36 | + <fillField userInput="EditedFirstNameShipping" selector="{{StorefrontCustomerAddressFormSection.firstName}}" stepKey="fillFirstName"/> |
| 37 | + <fillField userInput="EditedLastNameShipping" selector="{{StorefrontCustomerAddressFormSection.lastName}}" stepKey="fillLastName"/> |
| 38 | + <click selector="{{StorefrontCustomerAddressFormSection.saveAddress}}" stepKey="saveCustomerAddress"/> |
| 39 | + <waitForElementVisible selector="{{StorefrontMessagesSection.success}}" stepKey="waitForSuccessMessageVisible"/> |
| 40 | + <see userInput="You saved the address." selector="{{StorefrontMessagesSection.success}}" stepKey="verifyAddressAdded"/> |
41 | 41 | <see userInput="EditedFirstNameShipping" selector="{{StorefrontCustomerAddressesSection.defaultShippingAddress}}" stepKey="checkNewAddressesFirstNameOnDefaultShipping"/>
|
42 |
| - <see userInput="EditedLastNameShipping" selector="{{StorefrontCustomerAddressesSection.defaultBillingAddress}}" stepKey="checkNewAddressesLastNameOnDefaultShipping"/> |
| 42 | + <see userInput="EditedLastNameShipping" selector="{{StorefrontCustomerAddressesSection.defaultShippingAddress}}" stepKey="checkNewAddressesLastNameOnDefaultShipping"/> |
43 | 43 | <see userInput="{{US_Address_TX_Default_Billing.firstname}}" selector="{{StorefrontCustomerAddressesSection.defaultBillingAddress}}" stepKey="checkNewAddressesFirstNameOnDefaultBilling"/>
|
44 | 44 | <see userInput="{{US_Address_TX_Default_Billing.lastname}}" selector="{{StorefrontCustomerAddressesSection.defaultBillingAddress}}" stepKey="checkNewAddressesLastNameOnDefaultBilling"/>
|
45 | 45 | </test>
|
|
0 commit comments