Advertisement
stronk7

Untitled

May 4th, 2021
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.88 KB | None | 0 0
  1. $ php admin/tool/behat/cli/run.php --profile=headlessfirefox --suite=default --tags='@javascript' --fromrun=1 --torun=1 --rerun
  2. Running 1 parallel behat sites:
  3. [behatrun1] vendor\bin\behat --config C://Users/stronk7/moodledata/integration_behat/behatrun1\behat\behat.yml --profile="headlessfi
  4. refox" --tags="@javascript" --suite="default" --rerun
  5. Differences detected between cli and webserver...
  6. phpversion:
  7. - web server: 7.3.5
  8. - cli: 7.3.27
  9. ....................................................F................. 70
  10. .............................................F-....................... 140
  11. ...................................................................... 210
  12. ...................................................................... 280
  13. ...............................F-.......F-----........................ 350
  14. ...................................................................... 420
  15. ...................................................................... 490
  16. .......................................F--------...................... 560
  17. ...................................................................... 630
  18. ...............................................................F-----. 700
  19. .......................................F......F-------.............--- 770
  20. --------.......F----------------...................................... 840
  21. ...................................................................... 910
  22. ...................................................................... 980
  23. ...................................................................... 1050
  24. ...................................................................... 1120
  25. ...................................................................... 1190
  26. ...................................................................... 1260
  27. ...................................................................... 1330
  28.  
  29. Finished in 1h 01m 17s
  30.  
  31. **************** [behatrun1] ****************
  32. Differences detected between cli and webserver...
  33. phpversion:
  34. - web server: 7.3.5
  35. - cli: 7.3.27
  36. Moodle 3.11dev+ (Build: 20210430), 105e2efa2d1a9ac97cd959df9d216148bd38ad8c
  37. Php: 7.3.27, pgsql: 10.6, OS: Windows NT 10.0 AMD64
  38. Run optional tests:
  39. - Accessibility: No
  40. Server OS "WINNT", Browser: "firefox"
  41. Started at 04-05-2021, 19:24
  42. ....................................................F................. 70
  43. .............................................F-....................... 140
  44. ...................................................................... 210
  45. ...................................................................... 280
  46. ...............................F-.......F-----........................ 350
  47. ...................................................................... 420
  48. ...................................................................... 490
  49. .......................................F--------...................... 560
  50. ...................................................................... 630
  51. ...............................................................F------ 700
  52. -----........................................F......F-------......F--- 770
  53. --------------.......F----------------.......F----------------........ 840
  54. ...................................................................... 910
  55. ...................................................................... 980
  56. ...................................................................... 1050
  57. ...................................................................... 1120
  58. ...................................................................... 1190
  59. ...................................................................... 1260
  60. ...................................................................... 1330
  61. ..............................
  62.  
  63. --- Pasos fallidos:
  64.  
  65. 001 Scenario: Teacher can not see a "clear" button if the search query is removed in the activity chooser search bar # C:\Users\stro
  66. nk7\git_moodle\integration\course\tests\behat\activity_chooser.feature:138
  67. Then "Clear search input" "button" should not be visible # C:\Users\stro
  68. nk7\git_moodle\integration\course\tests\behat\activity_chooser.feature:145
  69. "Clear search input" "button" is visible (Behat\Mink\Exception\ExpectationException)
  70.  
  71. 002 Scenario: Admins can replace the original .h5p file with a new one # C:\Users\stronk7\git_moodle\integration\contentbank\content
  72. type\h5p\tests\behat\admin_replace_content.feature:17
  73. And I should see "Lorum ipsum" # C:\Users\stronk7\git_moodle\integration\contentbank\content
  74. type\h5p\tests\behat\admin_replace_content.feature:29
  75. "Lorum ipsum" text was not found in the page (Behat\Mink\Exception\ExpectationException)
  76.  
  77. 003 Scenario: Next page button should be disabled when on the last page of courses # C:\Users\str
  78. onk7\git_moodle\integration\blocks\myoverview\tests\behat\block_myoverview_pagination.feature:132
  79. Then the "class" attribute of ".block_myoverview [data-control='next']" "css_element" should contain "disabled" # C:\Users\str
  80. onk7\git_moodle\integration\blocks\myoverview\tests\behat\block_myoverview_pagination.feature:151
  81. The attribute "class" does not contain "disabled" (actual value: "page-item") (Behat\Mink\Exception\ExpectationException)
  82.  
  83. 004 Scenario: Next and previous page buttons should both be enabled when not on last or first page of courses # C:\Us
  84. ers\stronk7\git_moodle\integration\blocks\myoverview\tests\behat\block_myoverview_pagination.feature:154
  85. And the "class" attribute of ".block_myoverview [data-control='previous']" "css_element" should not contain "disabled" # C:\Us
  86. ers\stronk7\git_moodle\integration\blocks\myoverview\tests\behat\block_myoverview_pagination.feature:186
  87. The attribute "class" contains "disabled" (value: "page-item disabled") (Behat\Mink\Exception\ExpectationException)
  88.  
  89. 005 Scenario: Go to the competency course competencies page. # C:\Users\stronk7\git_moodle\integration\adm
  90. in\tool\lp\tests\behat\course_competencies.feature:48
  91. And I set the field "Filter competencies by resource or activity" to "PageName1" # C:\Users\stronk7\git_moodle\integration\adm
  92. in\tool\lp\tests\behat\course_competencies.feature:55
  93. Unable to find 'PageName1' in the list of options, and unable to create a new option (InvalidArgumentException)
  94.  
  95. 006 Scenario: Admins can delete content from the content bank # C:\Users\stronk7\git_moodle\integration\contentbank\tests\behat\dele
  96. te_content.feature:29
  97. And I should see "Delete" # C:\Users\stronk7\git_moodle\integration\contentbank\tests\behat\dele
  98. te_content.feature:31
  99. "Delete" text was found but was not visible (Behat\Mink\Exception\ExpectationException)
  100.  
  101. 007 Scenario: Users without the required capability can only delete their own content # C:\Users\stronk7\git_moodle\integration\cont
  102. entbank\tests\behat\delete_content.feature:44
  103. And I should see "Delete" # C:\Users\stronk7\git_moodle\integration\cont
  104. entbank\tests\behat\delete_content.feature:72
  105. "Delete" text was found but was not visible (Behat\Mink\Exception\ExpectationException)
  106.  
  107. 008 Scenario: Delete a file and a folder # C:\Users\stronk7\git_moodle\integration\repository\tests\behat\delete_fil
  108. es.feature:8
  109. When I delete "empty.txt" from "Files" filemanager # C:\Users\stronk7\git_moodle\integration\repository\tests\behat\delete_fil
  110. es.feature:15
  111. "Files" filepicker can not be found (Behat\Mink\Exception\ExpectationException)
  112.  
  113. 009 Scenario: Delete a file and a folder using bulk functionality (individually) # C:\Users\stronk7\git_moodle\integration\repositor
  114. y\tests\behat\delete_files.feature:25
  115. And I click on "Display folder with file details" "link" # C:\Users\stronk7\git_moodle\integration\repositor
  116. y\tests\behat\delete_files.feature:32
  117. Link matching locator "Display folder with file details" not found. (Behat\Mink\Exception\ElementNotFoundException)
  118.  
  119. 010 Scenario: Delete a file and a folder using bulk functionality (multiple) # C:\Users\stronk7\git_moodle\integration\repository\te
  120. sts\behat\delete_files.feature:52
  121. And I click on "Display folder with file details" "link" # C:\Users\stronk7\git_moodle\integration\repository\te
  122. sts\behat\delete_files.feature:60
  123. Link matching locator "Display folder with file details" not found. (Behat\Mink\Exception\ElementNotFoundException)
  124.  
  125. 011 Scenario: Delete files using the select all checkbox # C:\Users\stronk7\git_moodle\integration\repository\tests\behat\dele
  126. te_files.feature:79
  127. And I click on "Display folder with file details" "link" # C:\Users\stronk7\git_moodle\integration\repository\tests\behat\dele
  128. te_files.feature:87
  129. Link matching locator "Display folder with file details" not found. (Behat\Mink\Exception\ElementNotFoundException)
  130.  
  131. 61 escenarios (50 pasaron, 11 fallaron)
  132. 1360 pasos (1267 pasaron, 11 fallaron, 82 saltadas)
  133. 61m8.99s (89.70Mb)
  134.  
  135. Exit codes for each behat run:
  136. behatrun1: 1
  137. To re-run failed processes, you can use following command:
  138. php admin\tool\behat\cli\run.php --profile="headlessfirefox" --tags="@javascript" --suite="default" --rerun
  139.  
  140.  
  141.  
  142.  
  143.  
  144.  
  145.  
  146. $ php admin/tool/behat/cli/run.php --profile=headlessfirefox --suite=default --tags='@javascript' --fromrun=2 --torun=2 --rerun
  147. Running 1 parallel behat sites:
  148. [behatrun2] vendor\bin\behat --config C://Users/stronk7/moodledata/integration_behat/behatrun2\behat\behat.yml --profile="headlessfi
  149. refox" --tags="@javascript" --suite="default" --rerun
  150. Differences detected between cli and webserver...
  151. phpversion:
  152. - web server: 7.3.5
  153. - cli: 7.3.27
  154. ....F------------..................................................... 70
  155. ...................................................................... 140
  156. ...................................................................... 210
  157. ...................................................................... 280
  158. ...................................................................... 350
  159. ...................................................................... 420
  160. ...................................................................... 490
  161. ...................................................................... 560
  162. ...................................................................... 630
  163. ...................................................................... 700
  164. .....................F--.....F----.....F----...F-...F---...F--...F---- 770
  165. ...................................................................... 840
  166. ................................F-.................................... 910
  167. ...................................................................... 980
  168. ...................................................................... 1050
  169. ...................................................................... 1120
  170. ..........................................................F----------. 1190
  171. ...................................................................... 1260
  172. ........................F---.......................................... 1330
  173. ...................................................................... 1400
  174. ...................................................................... 1470
  175. ....................................................F-................ 1540
  176. ...................................................................... 1610
  177. ...................................................................... 1680
  178. .......................................................
  179. Finished in 1h 16m 24s
  180.  
  181. **************** [behatrun2] ****************
  182. Differences detected between cli and webserver...
  183. phpversion:
  184. - web server: 7.3.5
  185. - cli: 7.3.27
  186. Moodle 3.11dev+ (Build: 20210430), 105e2efa2d1a9ac97cd959df9d216148bd38ad8c
  187. Php: 7.3.27, pgsql: 10.6, OS: Windows NT 10.0 AMD64
  188. Run optional tests:
  189. - Accessibility: No
  190. Server OS "WINNT", Browser: "firefox"
  191. Started at 05-05-2021, 02:19
  192. ....F------------..................................................... 70
  193. ...................................................................... 140
  194. ...................................................................... 210
  195. ...................................................................... 280
  196. ...................................................................... 350
  197. ...................................................................... 420
  198. ...................................................................... 490
  199. ...................................................................... 560
  200. ...................................................................... 630
  201. ...................................................................... 700
  202. .....................F--.....F----.....F----...F-...F---...F--...F---- 770
  203. ...................................................................... 840
  204. ................................F-.................................... 910
  205. ...................................................................... 980
  206. ...................................................................... 1050
  207. ...................................................................... 1120
  208. ..........................................................F----------. 1190
  209. ...................................................................... 1260
  210. ........................F---.......................................... 1330
  211. ...................................................................... 1400
  212. ...................................................................... 1470
  213. ....................................................F-................ 1540
  214. ...................................................................... 1610
  215. ...................................................................... 1680
  216. .......................................................
  217.  
  218. --- Pasos fallidos:
  219.  
  220. 001 Scenario: Delete a framework # C:\Users\stronk7\git_moodle\integration\admi
  221. n\tool\lp\tests\behat\framework_crud.feature:54
  222. And I navigate to "Competencies > Competency frameworks" in site administration # C:\Users\stronk7\git_moodle\integration\admi
  223. n\tool\lp\tests\behat\framework_crud.feature:58
  224. Link "Competencies > Competency frameworks" not found. (Behat\Mink\Exception\ElementNotFoundException)
  225.  
  226. 002 Scenario: Altering a file should display licence list modal # C:\Users\stronk7\git_moodle\integration\files\tes
  227. ts\behat\license_help_modal.feature:17
  228. And I click on "empty.txt" "link" in the "Manage private files" "dialogue" # C:\Users\stronk7\git_moodle\integration\files\tes
  229. ts\behat\license_help_modal.feature:23
  230. Dialogue matching locator "'Manage private files'" not found. (Behat\Mink\Exception\ElementNotFoundException)
  231.  
  232. 003 Scenario: Recent files should display licence list modal # C:\Users\stronk7\git_moodle\integration\files\tests\behat\license_hel
  233. p_modal.feature:28
  234. And I follow "Add..." # C:\Users\stronk7\git_moodle\integration\files\tests\behat\license_hel
  235. p_modal.feature:34
  236. Link matching locator "Add..." not found. (Behat\Mink\Exception\ElementNotFoundException)
  237.  
  238. 004 Scenario: Private files should display licence list modal # C:\Users\stronk7\git_moodle\integration\files\tests\behat\license_he
  239. lp_modal.feature:41
  240. And I follow "Add..." # C:\Users\stronk7\git_moodle\integration\files\tests\behat\license_he
  241. lp_modal.feature:47
  242. Link matching locator "Add..." not found. (Behat\Mink\Exception\ElementNotFoundException)
  243.  
  244. 005 Scenario: Accessing the list # C:\Users\stronk7\git_moodle\integration\admin\tool\behat\tests\behat\list_steps.feature
  245. :13
  246. Then I should see "Step definitions" # C:\Users\stronk7\git_moodle\integration\admin\tool\behat\tests\behat\list_steps.feature
  247. :14
  248. "Step definitions" text was not found in the page (Behat\Mink\Exception\ExpectationException)
  249.  
  250. 006 Scenario: Filtering by type # C:\Users\stronk7\git_moodle\i
  251. ntegration\admin\tool\behat\tests\behat\list_steps.feature:18
  252. Given I set the field "Type" to "Then. Checkings to ensure the outcomes are the expected ones" # C:\Users\stronk7\git_moodle\i
  253. ntegration\admin\tool\behat\tests\behat\list_steps.feature:19
  254. Field matching locator "Type" not found. (Behat\Mink\Exception\ElementNotFoundException)
  255.  
  256. 007 Scenario: Filtering by keyword # C:\Users\stronk7\git_moodle\integration\admin\tool\behat\tests\behat\list_ste
  257. ps.feature:25
  258. Given I set the field "Contains" to "homepage" # C:\Users\stronk7\git_moodle\integration\admin\tool\behat\tests\behat\list_ste
  259. ps.feature:26
  260. Field matching locator "Contains" not found. (Behat\Mink\Exception\ElementNotFoundException)
  261.  
  262. 008 Scenario: Filtering by the multiple words pattern # C:\Users\stronk7\git_moodle\integration\admin\tool\behat\tests\behat\list
  263. _steps.feature:31
  264. Given I set the field "Contains" to "should exist" # C:\Users\stronk7\git_moodle\integration\admin\tool\behat\tests\behat\list
  265. _steps.feature:32
  266. Field matching locator "Contains" not found. (Behat\Mink\Exception\ElementNotFoundException)
  267.  
  268. 009 Scenario: Teachers can rename their own content in the content bank # C:\Users\stronk7\git_moodle\integration\contentbank\conten
  269. ttype\h5p\tests\behat\manage_content.feature:31
  270. Then I should not see "ipsums.h5p" # C:\Users\stronk7\git_moodle\integration\contentbank\conten
  271. ttype\h5p\tests\behat\manage_content.feature:43
  272. "ipsums.h5p" text was found in the page (Behat\Mink\Exception\ExpectationException)
  273.  
  274. 010 Scenario: Test progress gets saved correctly when the user navigates away from the scorm activity # C:\Users\stronk7\git_moodle\
  275. integration\mod\scorm\tests\behat\save_progress_on_unload.feature:21
  276. And I should see "Scoring" # C:\Users\stronk7\git_moodle\
  277. integration\mod\scorm\tests\behat\save_progress_on_unload.feature:41
  278. "Scoring" text was found but was not visible (Behat\Mink\Exception\ExpectationException)
  279.  
  280. 011 Scenario: Teacher updated the comment box and clicked on save and show next to reflect the comment # C:\Users\stronk7\git_moodle
  281. \integration\mod\assign\tests\behat\submission_comments.feature:74
  282. And I press "Save and show next" # C:\Users\stronk7\git_moodle
  283. \integration\mod\assign\tests\behat\submission_comments.feature:96
  284. Moodle exception: node is null File: http://localhost/behat_integration/behatrun2/theme/yui_combo.php?rollup/3.17.2/yui-mood
  285. lesimple.js Line: 17449 Stack trace: ln: 16http://localhost/behat_integration/behatrun2/theme Y_Node.DEFAULT_SETTER ln: 39http://loc
  286. alhost/behat_integration/behatrun2/theme set ln: 386http://localhost/behat_integration/behatrun2/lib&# register_delete_buttons/</</<
  287. ln: 30005http://localhost/behat_integration/behatrun2/lib&# e ln: 30307http://localhost/behat_integration/behatrun2/lib&# l/</t<
  288. node is null (Exception)
  289.  
  290. 012 Scenario: Teacher can replace its own H5P files # C:\Users\stronk7\git_moodle\integration\contentbank\contenttype\h5p\tests\beha
  291. t\teacher_replace_content.feature:40
  292. And I should see "Lorum ipsum" # C:\Users\stronk7\git_moodle\integration\contentbank\contenttype\h5p\tests\beha
  293. t\teacher_replace_content.feature:48
  294. "Lorum ipsum" text was not found in the page (Behat\Mink\Exception\ExpectationException)
  295.  
  296. 67 escenarios (55 pasaron, 12 fallaron)
  297. 1735 pasos (1676 pasaron, 12 fallaron, 47 saltadas)
  298. 76m23.77s (87.94Mb)
  299.  
  300. Exit codes for each behat run:
  301. behatrun2: 1
  302. To re-run failed processes, you can use following command:
  303. php admin\tool\behat\cli\run.php --profile="headlessfirefox" --tags="@javascript" --suite="default" --rerun
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement