BO - Order details - Change order status with dropdown

Details

Steps

Step Description Expected result
Go to BO > Orders > Orders page and view last order created The Order view page is well displayed and the Update status button is disabled
Select the same status The button “Update status” is still disabled
Select status ‘Canceled’ and Click on “Update status” An alert “Successful update.” is displayed and check:

Number status = +1 => 2

Status = canceled
Select status “payment accepted” and click on “Update Status” An alert “Successful update.” is well displayed:

Two new buttons are displayed “View order” + “Partial refund”

Check the number of statuses = +1 => 3

Check the status = payment accepted

Check there is an invoice generated
Click on View invoice An invoice is downloaded
Select status “shipped” and click on “Update Status” An alert “Successful update.” is well displayed:

A new button “View delivery slip” is displayed

Check the number of statuses = +1 =>4

Check the status = Shipped

Check that the delivery slip is generated
Click on “View delivery slip” a delivery slip is doownloaded