-
Bug
-
Resolution: Fixed
-
Minor
-
3.6
-
MOODLE_36_STABLE
-
MOODLE_36_STABLE
-
It has been detected that all master behat (@javascript) executions are halting forever since recently.
A) Tracing down the problem, it seems that a missing quote is causing the problem, leading to the behat execution to wait forever asking for input (undefined step).
coding_exception: Coding error detected, it must be fixed by a programmer: Step 'I click on "Cancel" "button in the "Confirm" "dialogue"'' is undefined. in /var/www/html/lib/tests/behat/behat_hooks.php:434
|
|
>> default suite has undefined steps. Please choose the context to generate snippets:
|
|
[0 ] None
|
[1 ] behat_assignfeedback_editpdf
|
[2 ] behat_auth
|
[3 ] behat_auth_email
|
[4 ] behat_backup
|
...
|
...
|
Obvious fix it to add the missing quotes and verify it leads to runs completing.
B) More problems found (a button within a button):
$ find . -name "*.feature" | xargs ag '"button".*"button"'
|
admin/tool/dataprivacy/tests/behat/manage_categories.feature
|
15: When I click on "Save" "button" in the "Delete category" "button"
|
33: When I click on "Delete" "button" in the "Confirm" "button"
|
C) And still more... running some features locally to capture all them...
- Need to fix some remaining 'And I press "Add"' cases.
- Fix some dialog names.
- has been marked as being related by
-
MDL-63660 Unit test failure - moodle_content_writer_test::test_export_user_preference_unescaped_unicode with data set "Unicode" ('ةكءيٓپچژکگیٹڈڑہھےâîûğŞAaÇÖáǽ你好!')
-
- Closed
-
-
MDL-63399 Need a better Behat step for testing downloads
-
- Closed
-
- is a regression caused by
-
MDL-63303 Messaging: UI: Base version of new UI for 3.6
-
- Closed
-