ecampbell / moodle-qtype_multichoiceset

All or Nothing Moodle question type originally created by Adriane Boyd
6 stars 21 forks source link

MDL-57281 - fix behat step #7

Closed aspark21 closed 3 years ago

aspark21 commented 3 years ago

Fixes the below failing scenario

@javascript Scenario: Backup and restore a course containing a All-or-Nothing Multiple Choic question # /var/www/html/question/type/multichoiceset/tests/behat/backup_and_restore.feature:26 When I backup "Course 1" course using this options: # behat_hooks::i_look_for_exceptions() | Confirmation | Filename | test_backup.mbz | And I restore "test_backup.mbz" backup into a new course using this options: # behat_hooks::i_look_for_exceptions() | Schema | Course name | Course 2 | And I navigate to "Question bank" node in "Course administration" │ ╳ Coding error detected, it must be fixed by a programmer: Step 'I navigate to "Question bank" node in "Course administration"'' is undefined. (coding_exception) │ └─ @AfterStep # behat_hooks::after_step_javascript() And I click on "Edit" "link" in the "All-or-nothing-001" "table_row"