FO - User account - Credit Slips - Consult credit slip list & View PDF Credit slip & View order

Details

Steps

Step Description Expected result
Go to FO > Sign with default customer The Home page is well displayed
Click on View my customer account Your account page is displayed
Click on “Credit slips” The  Credit slips page is well displayed and the information alert “You have not received any credit slips."  is displayed
Go to BO > Orders > Orders page & view the last order created from the pre-condition step The Order view page is well displayed
Change the order status to “Payment accepted” or “Shipped” * A “successful update” message is displayed
* The order status is updated successfully
Click on “Partial refund”, set a quantity and click on the “Partial refund” button * The alert “A partial refund was successfully created.” is well displayed
* The credit slip is well created
* An email “New credit slip regarding your order” should be received which contains “A credit slip has been generated in your name for order with the reference”
Go to FO >  Click on customer account page > Go to Credit slips tab * The list of Credit slips received is displayed successfully
* The Order reference is OK
* The Credit slip ID is ok
* The Date issued is ok
Choose a credit slip > Click on the pdf icon on the “View credit slip” column The PDF file is downloaded
Click on the file in browser toolbar The pdf file opens on a new tab and is displayed with all details
Go back to FO > Your account > Credit slip page The credit slip page is well displayed
Click on the Order reference The Order details is well displayed
Click on customer account page > Go to the Credit slips tab and click On “Back to your account” link Your account page is well displayed
Click on customer account page > Go to the Credit slips tab and click On “Home” link Your Home page is well displayed