courseTools.feature 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  1. # features/courseTools.feature
  2. @common
  3. Feature: Course tools basic testing
  4. In order to use a course
  5. As a teacher
  6. I need to be able to enter a course and each of its tools
  7. Scenario: Make sure the course exists
  8. Given I am a platform administrator
  9. Given course "TEMP" exists
  10. Then I should not see an ".alert-danger" element
  11. Scenario: Make sure the course description tool is available
  12. Given I am a platform administrator
  13. Given I am on course "TEMP" homepage
  14. Given I am on "/main/course_description/index.php"
  15. Then I should not see an ".alert-danger" element
  16. Scenario: Make sure the documents tool is available
  17. Given I am a platform administrator
  18. Given I am on course "TEMP" homepage
  19. Given I am on "/main/document/document.php"
  20. Then I should not see an ".alert-danger" element
  21. Scenario: Make sure the learning path tool is available
  22. Given I am a platform administrator
  23. Given I am on course "TEMP" homepage
  24. Given I am on "/main/newscorm/lp_controller.php"
  25. Then I should not see an ".alert-danger" element
  26. Scenario: Make sure the links tool is available
  27. Given I am a platform administrator
  28. Given I am on course "TEMP" homepage
  29. Given I am on "/main/link/link.php"
  30. Then I should not see an ".alert-danger" element
  31. Scenario: Make sure the tests tool is available
  32. Given I am a platform administrator
  33. Given I am on course "TEMP" homepage
  34. Given I am on "/main/exercice/exercice.php"
  35. Then I should not see an ".alert-danger" element
  36. Scenario: Make sure the announcements tool is available
  37. Given I am a platform administrator
  38. Given I am on course "TEMP" homepage
  39. Given I am on "/main/announcements/announcements.php"
  40. Then I should not see an ".alert-danger" element
  41. Scenario: Make sure the assessments tool is available
  42. Given I am a platform administrator
  43. Given I am on course "TEMP" homepage
  44. Given I am on "/main/gradebook/index.php"
  45. Then I should not see an ".alert-danger" element
  46. Scenario: Make sure the glossary tool is available
  47. Given I am a platform administrator
  48. Given I am on course "TEMP" homepage
  49. Given I am on "/main/glossary/index.php"
  50. Then I should not see an ".alert-danger" element
  51. Scenario: Make sure the attendances tool is available
  52. Given I am a platform administrator
  53. Given I am on course "TEMP" homepage
  54. Given I am on "/main/attendances/index.php"
  55. Then I should not see an ".alert-danger" element
  56. Scenario: Make sure the course progress tool is available
  57. Given I am a platform administrator
  58. Given I am on course "TEMP" homepage
  59. Given I am on "/main/course_progress/index.php"
  60. Then I should not see an ".alert-danger" element
  61. Scenario: Make sure the agenda tool is available
  62. Given I am a platform administrator
  63. Given I am on course "TEMP" homepage
  64. Given I am on "/main/calendar/agenda.php"
  65. Then I should not see an ".alert-danger" element
  66. Scenario: Make sure the forums tool is available
  67. Given I am a platform administrator
  68. Given I am on course "TEMP" homepage
  69. Given I am on "/main/forum/index.php"
  70. Then I should not see an ".alert-danger" element
  71. Scenario: Make sure the dropbox tool is available
  72. Given I am a platform administrator
  73. Given I am on course "TEMP" homepage
  74. Given I am on "/main/dropbox/index.php"
  75. Then I should not see an ".alert-danger" element
  76. Scenario: Make sure the users tool is available
  77. Given I am a platform administrator
  78. Given I am on course "TEMP" homepage
  79. Given I am on "/main/user/index.php"
  80. Then I should not see an ".alert-danger" element
  81. Scenario: Make sure the groups tool is available
  82. Given I am a platform administrator
  83. Given I am on course "TEMP" homepage
  84. Given I am on "/main/group/group.php"
  85. Then I should not see an ".alert-danger" element
  86. Scenario: Make sure the chat tool is available
  87. Given I am a platform administrator
  88. Given I am on course "TEMP" homepage
  89. Given I am on "/main/chat/index.php"
  90. Then I should not see an ".alert-danger" element
  91. Scenario: Make sure the assignments tool is available
  92. Given I am a platform administrator
  93. Given I am on course "TEMP" homepage
  94. Given I am on "/main/work/work.php"
  95. Then I should not see an ".alert-danger" element
  96. Scenario: Make sure the surveys tool is available
  97. Given I am a platform administrator
  98. Given I am on course "TEMP" homepage
  99. Given I am on "/main/survey/index.php"
  100. Then I should not see an ".alert-danger" element
  101. Scenario: Make sure the wiki tool is available
  102. Given I am a platform administrator
  103. Given I am on course "TEMP" homepage
  104. Given I am on "/main/wiki/index.php"
  105. Then I should not see an ".alert-danger" element
  106. Scenario: Make sure the notebook tool is available
  107. Given I am a platform administrator
  108. Given I am on course "TEMP" homepage
  109. Given I am on "/main/notebook/index.php"
  110. Then I should not see an ".alert-danger" element
  111. Scenario: Make sure the projects tool is available
  112. Given I am a platform administrator
  113. Given I am on course "TEMP" homepage
  114. Given I am on "/main/blog/blog_admin.php"
  115. Then I should not see an ".alert-danger" element
  116. Scenario: Make sure the reporting tool is available
  117. Given I am a platform administrator
  118. Given I am on course "TEMP" homepage
  119. Given I am on "/main/tracking/courseLog.php"
  120. Then I should not see an ".alert-danger" element
  121. Scenario: Make sure the settings tool is available
  122. Given I am a platform administrator
  123. Given I am on course "TEMP" homepage
  124. Given I am on "/main/course_info/infocours.php"
  125. Then I should not see an ".alert-danger" element
  126. Scenario: Make sure the backup tool is available
  127. Given I am a platform administrator
  128. Given I am on course "TEMP" homepage
  129. Given I am on "/main/course_info/maintenance.php"
  130. Then I should not see an ".alert-danger" element