FO - Contact us - Send a message while logged in

Details

Steps

Step Description Expected result
Go to FO > Log into your customer account created from the pre-condition step You are logged into your customer account
Go to FO > In footer, click on Our Company > Contact us * The contact form is displayed
* TheĀ Email address is not empty and it is the same email address of the customer created in the pre-condition
* The “Order reference” select list is not displayed
Fill the form > Send Message “The message cannot be blank.” is displayed
Fill the form > Send Message “Your message has been successfully sent to our team.” is displayed
Go to BO > Customer Service > Customer Service page * TheĀ Customer Service page is well displayed & the last message is well displayed
* The email is ok
* the Messages is ok
Go to FO > Sign in with John Doe You are logged into your customer account
Click on “Contact us” in header * The contact us page is well displayed
* The “Email address” is equal to “[email protected]
* The “Order reference” list is well displayed
Fill the form again > Send Message “Your message has been successfully sent to our team.” is displayed
Go to BO > Orders list page and filter the order reference The number of orders === 1
Click on View order * The Order view page is well displayed
* In the message block: the message is well displayed
Go to BO > Customer Service page and Delete the messages An alert “Successful deletion.” is well displayed
Go to BO > Customers list page & delete the customer created in the pre-condition The alert “Successful deletion.” is well displayed