Step Description | Expected result |
---|---|
Go to Orders > “Invoices” page | Invoices page is displayed successfully |
Go to “Invoice options” section > Set to “No” the “Enable invoices” switch button > Click on “Save” button | * The invoice is disabled successfully. The switch button is set to No and is grey * The successful message “Update successful” is displayed successfully |
Go to Orders > “Orders” page | Orders page is displayed successfully |
Go to the the order page created in the pre-condition > Click on it | Order details page is displayed successfully |
Change the order status to “Shipped” > Click on “Update status” button | * A successful message “Successful update” is displayed * The status is changed successfully * The invoice is not created |
Go back to Orders > “Invoices” page | Invoices page is displayed successfully |
Go to “Invoice options” section > Set to “Yes” the “Enable invoices” switch button > Click on “Save” button | * The invoice is enabled successfully. The switch button is set to Yes and is green * The successful message “Update successful” is displayed successfully |
Go back to Orders > “Orders” page | Orders page is displayed successfully |
Go to the order pageĀ “created in the pre-condition”> Click on it | Order details page is displayed successfully |
Change the order status to “payment accepted” > Click on “Update status” button | * A successful message “Successful update” is displayed * The status is changed successfully * The invoice is created successfully |