MDL-80460 behat: Fix tests to replace Topic with Section
commitfed26847b495de524e12b8f6dcdb6050678abd15
authorSara Arjona <sara@moodle.com>
Mon, 12 Feb 2024 16:36:03 +0000 (12 17:36 +0100)
committerSara Arjona <sara@moodle.com>
Wed, 6 Mar 2024 14:25:22 +0000 (6 15:25 +0100)
treefeefec1707ffa7ac7e97845b5ae6d0598903e453
parent076aead150a916e5e02896c11cbe4a9adc8b49cb
MDL-80460 behat: Fix tests to replace Topic with Section

The behat tests using the course format topics have been reviewed to:
- Add the 'inisections' parameter where necessary, facilitating automatic
renaming of section names.
- Evaluate failing tests due to slight changes in ordering. Notably, in
the topics format, sections are now uniformly named 'New section' without
any numbering.
43 files changed:
admin/tool/behat/tests/behat/data_generators.feature
admin/tool/generator/tests/behat/testscenario.feature
admin/tool/generator/tests/fixtures/testscenario/scenario.feature
admin/tool/recyclebin/tests/behat/basic_functionality.feature
availability/tests/behat/display_availability.feature
backup/util/ui/tests/behat/backup_courses.feature
backup/util/ui/tests/behat/duplicate_activities.feature
backup/util/ui/tests/behat/restore_moodle2_courses.feature
blocks/section_links/tests/behat/show_section_name.feature
course/format/tests/behat/bulk_activity_actions.feature
course/format/tests/behat/bulk_section_actions.feature
course/format/tests/behat/bulk_select.feature
course/format/tests/behat/bulk_show_one_section_actions.feature
course/format/tests/behat/content_preferences.feature
course/format/tests/behat/course_courseindex.feature
course/format/tests/behat/course_manageactivities.feature
course/format/tests/behat/courseindex_completion.feature
course/format/tests/behat/courseindex_keyboardnav.feature
course/format/tests/behat/duplicate_section.feature
course/format/tests/behat/movecm_keyboard.feature
course/format/tests/behat/movesection_keyboard.feature
course/format/tests/behat/section_page.feature
course/format/tests/behat/section_visibility.feature
course/format/topics/tests/behat/edit_delete_sections.feature
course/format/topics/tests/behat/highlight_sections.feature
course/tests/behat/activity_chooser.feature
course/tests/behat/activity_chooser_plus.feature
course/tests/behat/course_collapse_sections.feature
course/tests/behat/course_controls.feature
course/tests/behat/course_format.feature
course/tests/behat/frontpage_topic_section.feature
course/tests/behat/max_number_sections.feature
course/tests/behat/move_activities.feature
course/tests/behat/move_sections.feature
course/tests/behat/paged_course_navigation.feature
course/tests/behat/section_visibility.feature
customfield/tests/behat/required_field.feature
customfield/tests/behat/unique_field.feature
enrol/self/tests/behat/key_holder.feature
enrol/self/tests/behat/self_enrolment.feature
mod/book/tests/behat/create_chapters.feature
mod/lti/tests/behat/managecoursetools.feature
report/progress/tests/behat/activity_completion_report_filter.feature