BO - Orders - Credit Slips - Sort & Pagination Credit Slips

Details

Steps

Step Description Expected result
Go to FO > Create 7 orders (pre-condition n°1) Order confirmation page is displayed
Go to the BO > Orders > Orders > Change the status of 11 orders and create partial refund (pre-condition n°3) * A partial refund is added successfully
* A new document is created for the credit slips
Go to Orders > Credit slips page The credit slips page is well displayed
Sort by ID DESC The Credit slips are sorted by ID DESC
Sort by ID order ASC The Credit slips are sorted by ID order ASC
Sort by ID order DESC The Credit slips are sorted by ID order DESC
Sort by Date issued ASC The Credit slips are sorted by Date issued ASC
Sort by Date issued DESC The Credit slips are sorted by Date issued DESC
Sort by ID ASC The Credit slips are sorted by ID ASC
number of credit slip  10 All credit slips are on the same page : no pagination available
Number of credit slips > 10

Change “items per page” to 10
* Page reloads with 10 items on the first page
* Buttons appear to go to the next page
Click on Next The second page is well displayed
Click on previous The first page is well displayed
Change “items per page” to 50 * Page reloads with all items on the first page = 11 credit slips
* Only one page of credit slips is available