FO - User account - CRUD address

Details

Steps

Step Description Expected result
Go to FO > Go to header and click on your username > Click on tab “Add first address” “New address” form page is displayed
Fill the address form > Click on “Save” button * Success message “Address successfully added!” is displayed
* Back to “Your addresses” page with the new address on your account
Click on “Update” link at the bottom of your address card > Modify your Alias, Address, add a Phone Number > Click on “Save” button * Success message “Address successfully updated!” is displayed
* Back to “Your addresses” page with the updated address on your account
Click on “Your account” on breadcrumb in “Your addresses” page * Back to “Your account page”
* The “Add first address” tab  is now called “Addresses”
Click on “Addresses” tab > Click on “+ Create new address” link at the bottom of the page “New address” form page is displayed
Fill the address form > Click on “Save” button * Success message “Address successfully added!” is displayed
* Back to “Your addresses” page with the new address on your account
* You have now 2 addresses displayed
Go to home page > Add a product on cart > Click on “Proceed to checkout” button in the modal > Click on “Proceed to checkout” button in the “Shopping cart” page * Step 2 with your addresses is displayed
* The first address added is checked
Click on the shop logo > Click on your username link in the header > Click on “Addresses” tab > Click on “Delete” link at the bottom of your first address card Error message “Could not delete the address since it is used in the shopping cart.” is displayed
Click on  “Cart” button on the header > Click on “Proceed to checkout” button > Select the other address > Click on “Continue” button * The second address added is well checked
* Step 3 with your “Shipping method” is displayed
Click on the shop logo > Click on your username link in the header > Click on “Addresses” tab > Click on “Delete” link at the bottom of your first address card * Success message “Address successfully deleted!” is displayed
* Only one address exists in the list
Go to BO > Customers list page & delete the customer created The alert “Successful deletion.” is well displayed