Advertisement
Guest User

Untitled

a guest
Mar 22nd, 2019
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.86 KB | None | 0 0
  1. Feature: Sort and navigate through transits
  2.  
  3. Background:
  4. Given user is in the homepage
  5.  
  6. Scenario: User should be able to sort Transits and navigate through them
  7. When User clicks the transit dropdown option
  8. Then The transit option gets correctly selected
  9. #When User expands the filter section
  10. When User chooses a criteria in order to return more than 10 records
  11. And Clicks the filter button
  12. Then First five of the filter results are displayed in the list
  13. When User clicks the "state" heading above the list results
  14. Then Results are sorted ascendantly
  15. When User clicks the "state" heading above the list results
  16. Then Results are sorted descendently
  17. When User clicks the "state" heading above the list results
  18. Then The sort is removed. Results are in the default order
  19.  
  20. When User clicks the "state" heading above the list results
  21. Then Results are sorted ascendantly
  22. When User clicks the "state" heading above the list results
  23. Then Results are sorted descendently
  24. When User clicks the "state" heading above the list results
  25. Then The sort is removed. Results are in the default order
  26.  
  27. When User clicks the "state" heading above the list results
  28. Then Results are sorted ascendantly
  29. When User clicks the "state" heading above the list results
  30. Then Results are sorted descendently
  31. When User clicks the "state" heading above the list results
  32. Then The sort is removed. Results are in the default order
  33.  
  34. When User clicks the "state" heading above the list results
  35. Then Results are sorted ascendantly
  36. When User clicks the "state" heading above the list results
  37. Then Results are sorted descendently
  38. When User clicks the "state" heading above the list results
  39. Then The sort is removed. Results are in the default order
  40.  
  41. #TODO when site gets up
  42.  
  43. When User leaves the number of items per page at 5
  44. And Clicks on the next button
  45. Then The second page of results is loaded
  46. When User clicks the previous button
  47. Then The first page of results is loaded
  48. When User clicks the previous button
  49. Then Nothing happens. The button is disabled
  50. When User clicks [2] button
  51. Then The second page of results is loaded
  52. When User clicks first page button
  53. Then The first page of results is loaded
  54. When User clicks the last page button
  55. Then The last page of results is loaded
  56. When User clicks first page button
  57. Then The first page of results is loaded
  58. When User sets the number of items per page to "8"
  59. Then The first "8" of the filter results are displayed in the list
  60. And The pagination items are updated accordingly
  61. When User sts the number of items per page to "10"
  62. Then The first "10" of the filter results are displayed in the list
  63. And The pagination items are updated accordingly
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement