BO - International - Locations - Zones - Sort and Pagination

Details

Steps

Step Description Expected result
Go to International ->locations> Zones the zones page is displayed
Go to International ->locations> Zones the zones page is displayed
Click on Add new zone Add new Zone Page is displayed correctly
Fill all information > Click on save New zone is saved correctly.

Message is displayed “Successful creation”

Redirection to Zone page
Filter by Zone = " test" Filter is succeeded

Zone test is displayed
Click on Zone test Edit Zone Page is displayed correctly.

Page title contains  test
Edit the name of the Zone by ZoneNAME > Click on save New zone is saved correctly.

Message is displayed “Update successful”

Redirection to Zone page
Click to “…” > Delete A modale should appear:

 
h4. Delete selection
Are you sure you want to delete the selected item(s)?
Click to Delete Message is displayed : “Successful deletion”

No records found
Reset filter All zones are displayed
Add 20 new zones zones page is well displayed

the zones table  = 20
Change the items number to 10 per page Two pages are displayed and the pagination number = page 1 /2
Click on next The second page is well displayed & the pagination number = page 2 / 2
Click on previous The first page is well displayed and the pagination number = page 1 /2
Change the items number to 50 per page Only one page is displayed  (page 1 / 1)
Sort zones  by id  desc zones are sorted by ID  (7 -> 6 -> 5…)
Sort zones  by id Asc zones are sorted by ID  (1 -> 2 -> 3…)
Sort zones by name zone Asc successful update message is displayed
zones are sorted by name (x -> y -> z)
Sort zones by name desc successful update message is displayed
zones are sorted by name (z -> y -> x)