Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Feature: Sort and navigate through transits
- Background:
- Given user is in the homepage
- Scenario: User should be able to sort Transits and navigate through them
- When User clicks the transit dropdown option
- Then The transit option gets correctly selected
- #When User expands the filter section
- When User chooses a criteria in order to return more than 10 records
- And Clicks the filter button
- Then First five of the filter results are displayed in the list
- When User clicks the "state" heading above the list results
- Then Results are sorted ascendantly
- When User clicks the "state" heading above the list results
- Then Results are sorted descendently
- When User clicks the "state" heading above the list results
- Then The sort is removed. Results are in the default order
- When User clicks the "state" heading above the list results
- Then Results are sorted ascendantly
- When User clicks the "state" heading above the list results
- Then Results are sorted descendently
- When User clicks the "state" heading above the list results
- Then The sort is removed. Results are in the default order
- When User clicks the "state" heading above the list results
- Then Results are sorted ascendantly
- When User clicks the "state" heading above the list results
- Then Results are sorted descendently
- When User clicks the "state" heading above the list results
- Then The sort is removed. Results are in the default order
- When User clicks the "state" heading above the list results
- Then Results are sorted ascendantly
- When User clicks the "state" heading above the list results
- Then Results are sorted descendently
- When User clicks the "state" heading above the list results
- Then The sort is removed. Results are in the default order
- #TODO when site gets up
- When User leaves the number of items per page at 5
- And Clicks on the next button
- Then The second page of results is loaded
- When User clicks the previous button
- Then The first page of results is loaded
- When User clicks the previous button
- Then Nothing happens. The button is disabled
- When User clicks [2] button
- Then The second page of results is loaded
- When User clicks first page button
- Then The first page of results is loaded
- When User clicks the last page button
- Then The last page of results is loaded
- When User clicks first page button
- Then The first page of results is loaded
- When User sets the number of items per page to "8"
- Then The first "8" of the filter results are displayed in the list
- And The pagination items are updated accordingly
- When User sts the number of items per page to "10"
- Then The first "10" of the filter results are displayed in the list
- And The pagination items are updated accordingly
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement