FO - Download invoice from order details

Details

Steps

Step Description Expected result
Case 1: Change status in order list page in BO
Go to BO > Orders > Orders > Click on status label of an order (previously placed with the pre-condition) > Change “Awaiting XX payment” to “Delivered” status on the list
* The order list page is refreshed
* A successful message “Successful update.” is displayed
* The status label of the order is well changed to “Delivered”
Case 2: Change status in order details page in BO
Go to BO > Orders > Orders > Click on an order (previously placed with the pre-condition)
The order details page is well displayed
Click on status list in top of the page > Choose “Delivered” in the list > Click on the “Update status” * The order list page is refreshed
* A successful message “Successful update.” is displayed
* The status label of the order is well changed to “Delivered”
Go to FO > Click on you user account name in the header (previously connected with the pre-condition below) “Your account” page is well displayed
Click on “Order history and details” tab * The “Order history” page with the order list is well displayed (with the order placed by the pre-condition below)
* All informations about orders are displayed on the list (reference / date / total price / payment / status / invoice / “Details” and “Reorder” links)
* At least one order should have “Delivered” status and an invoice to download (the one placed by the pre-condition below)
* For the status “Awaiting XX payment” for example, there is no invoice icon on the column
Choose the order with the “Delivered” status and click on the “Details” link in the last column * The “Order details” page is well displayed
* All the informations about the order are displayed
Click on the “Download your invoice as a PDF file” link on the second block Invoice .pdf file is downloaded on your computer with its ID name as “XXXX.pdf”
Go to the second order details Check that no invoice is visible