From 550d842e3cd702aa73fa22d45ec8a4e02a607a31 Mon Sep 17 00:00:00 2001 From: David Monllao Date: Tue, 23 Apr 2013 12:56:40 +0800 Subject: [PATCH] MDL-39232 behat Normalize feature tags according to component names --- admin/tests/behat/display_short_names.feature | 2 +- admin/tests/behat/filter_users.feature | 2 +- admin/tests/behat/upload_users.feature | 2 +- admin/tool/behat/tests/behat/basic_actions.feature | 2 +- admin/tool/behat/tests/behat/data_generators.feature | 2 +- admin/tool/behat/tests/behat/edit_permissions.feature | 2 +- admin/tool/behat/tests/behat/list_steps.feature | 2 +- admin/tool/behat/tests/behat/manipulate_forms.feature | 2 +- admin/tool/behat/tests/behat/nasty_strings.feature | 2 +- admin/tool/behat/tests/behat/test_environment.feature | 2 +- auth/tests/behat/login.feature | 2 +- backup/util/ui/tests/behat/backup_courses.feature | 2 +- backup/util/ui/tests/behat/duplicate_activities.feature | 2 +- backup/util/ui/tests/behat/import_course.feature | 2 +- backup/util/ui/tests/behat/restore_moodle2_courses.feature | 2 +- badges/tests/behat/add_badge.feature | 2 +- badges/tests/behat/award_badge.feature | 2 +- blocks/comments/tests/behat/add_comment.feature | 2 +- blocks/comments/tests/behat/delete_comment.feature | 2 +- blocks/tests/behat/add_blocks.feature | 2 +- blocks/tests/behat/configure_block_throughout_site.feature | 2 +- blocks/tests/behat/restrict_available_blocks.feature | 2 +- blog/tests/behat/comment.feature | 4 ++-- cohort/tests/behat/add_cohort.feature | 2 +- cohort/tests/behat/upload_cohort_users.feature | 2 +- completion/tests/behat/enable_manual_complete_mark.feature | 2 +- completion/tests/behat/restrict_section_availability.feature | 2 +- course/tests/behat/activities_group_icons.feature | 2 +- course/tests/behat/activities_indentation.feature | 2 +- course/tests/behat/activities_visibility_icons.feature | 2 +- course/tests/behat/add_activities.feature | 2 +- course/tests/behat/edit_settings.feature | 2 +- course/tests/behat/force_group_mode.feature | 2 +- course/tests/behat/max_number_sections.feature | 2 +- course/tests/behat/paged_course_navigation.feature | 2 +- course/tests/behat/rename_roles.feature | 2 +- course/tests/behat/restrict_available_activities.feature | 2 +- course/tests/behat/section_highlighting.feature | 2 +- course/tests/behat/section_visibility.feature | 2 +- enrol/guest/tests/behat/guest_access.feature | 2 +- enrol/self/tests/behat/self_enrolment.feature | 2 +- group/tests/behat/auto_creation.feature | 2 +- group/tests/behat/create_groups.feature | 2 +- group/tests/behat/id_uniqueness.feature | 2 +- lib/editor/tinymce/tests/behat/edit_available_icons.feature | 2 +- message/tests/behat/block_users.feature | 2 +- message/tests/behat/manage_contacts.feature | 2 +- message/tests/behat/search_history.feature | 2 +- mod/assign/tests/behat/file_submission.feature | 2 +- mod/assign/tests/behat/group_submission.feature | 2 +- mod/assign/tests/behat/online_submissions.feature | 2 +- mod/assign/tests/behat/prevent_submission_changes.feature | 2 +- mod/choice/tests/behat/add_choice.feature | 2 +- mod/choice/tests/behat/publish_results.feature | 2 +- mod/choice/tests/behat/publish_results_anonymously.feature | 2 +- mod/forum/tests/behat/add_forum.feature | 2 +- .../behat/completion_condition_number_discussions.feature | 2 +- mod/forum/tests/behat/discussion_display.feature | 2 +- mod/forum/tests/behat/edit_post_student.feature | 2 +- mod/forum/tests/behat/edit_post_teacher.feature | 2 +- mod/forum/tests/behat/single_forum_discussion.feature | 2 +- mod/forum/tests/behat/track_read_posts.feature | 2 +- mod/glossary/tests/behat/entries_always_editable.feature | 2 +- mod/glossary/tests/behat/prevent_duplicate_entries.feature | 2 +- mod/glossary/tests/behat/print_friendly_version.feature | 2 +- mod/glossary/tests/behat/search_entries.feature | 2 +- mod/lesson/tests/behat/date_availability.feature | 2 +- mod/lesson/tests/behat/lesson_navigation.feature | 2 +- mod/lesson/tests/behat/password_protection.feature | 2 +- mod/lesson/tests/behat/time_limit.feature | 2 +- mod/survey/tests/behat/survey_types.feature | 2 +- mod/wiki/tests/behat/collaborative_individual.feature | 2 +- mod/wiki/tests/behat/page_history.feature | 2 +- mod/wiki/tests/behat/preview_page.feature | 2 +- mod/wiki/tests/behat/wiki_formats.feature | 2 +- question/tests/behat/edit_questions.feature | 2 +- question/tests/behat/preview_question.feature | 2 +- question/tests/behat/sort_questions.feature | 2 +- repository/recent/tests/behat/add_recent.feature | 2 +- repository/tests/behat/cancel_add_file.feature | 2 +- repository/tests/behat/create_folders.feature | 2 +- repository/tests/behat/delete_files.feature | 2 +- repository/tests/behat/zip_and_unzip.feature | 2 +- repository/upload/tests/behat/upload_file.feature | 2 +- 84 files changed, 85 insertions(+), 85 deletions(-) diff --git a/admin/tests/behat/display_short_names.feature b/admin/tests/behat/display_short_names.feature index 836d7536f01..8f8cdbb30f0 100644 --- a/admin/tests/behat/display_short_names.feature +++ b/admin/tests/behat/display_short_names.feature @@ -1,4 +1,4 @@ -@admin +@core @core_admin Feature: Display extended course names In order to display more info about the courses As a moodle admin diff --git a/admin/tests/behat/filter_users.feature b/admin/tests/behat/filter_users.feature index 351e4d5264c..5d8111304fd 100644 --- a/admin/tests/behat/filter_users.feature +++ b/admin/tests/behat/filter_users.feature @@ -1,4 +1,4 @@ -@admin +@core @core_admin Feature: An administrator can filter user accounts by role, cohort and other profile fields In order to find the user accounts I am looking for As a moodle admin diff --git a/admin/tests/behat/upload_users.feature b/admin/tests/behat/upload_users.feature index e61208e8c8f..bc6e29f69ff 100644 --- a/admin/tests/behat/upload_users.feature +++ b/admin/tests/behat/upload_users.feature @@ -1,4 +1,4 @@ -@admin @_only_local +@core @core_admin @_only_local Feature: Upload users In order to add users to the system As a moodle admin diff --git a/admin/tool/behat/tests/behat/basic_actions.feature b/admin/tool/behat/tests/behat/basic_actions.feature index d76edc8708c..c2f829bd659 100644 --- a/admin/tool/behat/tests/behat/basic_actions.feature +++ b/admin/tool/behat/tests/behat/basic_actions.feature @@ -1,4 +1,4 @@ -@tool_behat +@tool @tool_behat Feature: Page contents assertions In order to write good tests As a tests writer diff --git a/admin/tool/behat/tests/behat/data_generators.feature b/admin/tool/behat/tests/behat/data_generators.feature index ef5a9936e5d..d09f880d841 100644 --- a/admin/tool/behat/tests/behat/data_generators.feature +++ b/admin/tool/behat/tests/behat/data_generators.feature @@ -1,4 +1,4 @@ -@tool_behat +@tool @tool_behat Feature: Set up contextual data for tests In order to write tests quickly As a moodle developer diff --git a/admin/tool/behat/tests/behat/edit_permissions.feature b/admin/tool/behat/tests/behat/edit_permissions.feature index 066790ff55e..7389d07cbbc 100644 --- a/admin/tool/behat/tests/behat/edit_permissions.feature +++ b/admin/tool/behat/tests/behat/edit_permissions.feature @@ -1,4 +1,4 @@ -@tool_behat +@tool @tool_behat Feature: Edit capabilities In order to extend and restrict moodle features As an admin or teacher diff --git a/admin/tool/behat/tests/behat/list_steps.feature b/admin/tool/behat/tests/behat/list_steps.feature index 264c75486c0..3fc9ce882c0 100644 --- a/admin/tool/behat/tests/behat/list_steps.feature +++ b/admin/tool/behat/tests/behat/list_steps.feature @@ -1,4 +1,4 @@ -@tool_behat +@tool @tool_behat Feature: List the system steps definitions In order to create new tests As a tests writer diff --git a/admin/tool/behat/tests/behat/manipulate_forms.feature b/admin/tool/behat/tests/behat/manipulate_forms.feature index 866798fc5c4..b0a99874a53 100644 --- a/admin/tool/behat/tests/behat/manipulate_forms.feature +++ b/admin/tool/behat/tests/behat/manipulate_forms.feature @@ -1,4 +1,4 @@ -@tool_behat @core_form +@tool @tool_behat Feature: Forms manipulation In order to interact with Moodle As a user diff --git a/admin/tool/behat/tests/behat/nasty_strings.feature b/admin/tool/behat/tests/behat/nasty_strings.feature index 550386f1101..8ced5fda015 100644 --- a/admin/tool/behat/tests/behat/nasty_strings.feature +++ b/admin/tool/behat/tests/behat/nasty_strings.feature @@ -1,4 +1,4 @@ -@tool_behat +@tool @tool_behat Feature: Transform steps arguments In order to write tests with complex nasty arguments As a tests writer diff --git a/admin/tool/behat/tests/behat/test_environment.feature b/admin/tool/behat/tests/behat/test_environment.feature index 53d9ee8bc68..e64ef5d1446 100644 --- a/admin/tool/behat/tests/behat/test_environment.feature +++ b/admin/tool/behat/tests/behat/test_environment.feature @@ -1,4 +1,4 @@ -@tool_behat +@tool @tool_behat Feature: Set up the testing environment In order to execute automated acceptance tests As a moodle developer diff --git a/auth/tests/behat/login.feature b/auth/tests/behat/login.feature index e34bf11a727..7de5405fba7 100644 --- a/auth/tests/behat/login.feature +++ b/auth/tests/behat/login.feature @@ -1,4 +1,4 @@ -@auth +@core @core_auth Feature: Authentication In order to validate my credentials in the system As a moodle user diff --git a/backup/util/ui/tests/behat/backup_courses.feature b/backup/util/ui/tests/behat/backup_courses.feature index 584354e4ec9..ba0a84cd51a 100644 --- a/backup/util/ui/tests/behat/backup_courses.feature +++ b/backup/util/ui/tests/behat/backup_courses.feature @@ -1,4 +1,4 @@ -@backup +@core @core_backup Feature: Backup Moodle courses In order to save and store course contents As a moodle admin diff --git a/backup/util/ui/tests/behat/duplicate_activities.feature b/backup/util/ui/tests/behat/duplicate_activities.feature index f23efc4b70e..901bd7d3c0b 100644 --- a/backup/util/ui/tests/behat/duplicate_activities.feature +++ b/backup/util/ui/tests/behat/duplicate_activities.feature @@ -1,4 +1,4 @@ -@backup +@core @core_backup Feature: Duplicate activities In order to set up my course contents quickly As a moodle teacher diff --git a/backup/util/ui/tests/behat/import_course.feature b/backup/util/ui/tests/behat/import_course.feature index 1acf15ca383..e087094eda8 100644 --- a/backup/util/ui/tests/behat/import_course.feature +++ b/backup/util/ui/tests/behat/import_course.feature @@ -1,4 +1,4 @@ -@backup +@core @core_backup Feature: Import course's contents into another course In order to move and copy contents between courses As a moodle teacher diff --git a/backup/util/ui/tests/behat/restore_moodle2_courses.feature b/backup/util/ui/tests/behat/restore_moodle2_courses.feature index 177a92bbb6e..d9789343653 100644 --- a/backup/util/ui/tests/behat/restore_moodle2_courses.feature +++ b/backup/util/ui/tests/behat/restore_moodle2_courses.feature @@ -1,4 +1,4 @@ -@backup +@core @core_backup Feature: Restore Moodle 2 course backups In order to continue using my stored course contents As a moodle teacher and as a moodle admin diff --git a/badges/tests/behat/add_badge.feature b/badges/tests/behat/add_badge.feature index 9b98beaf35d..9d4b5faf244 100644 --- a/badges/tests/behat/add_badge.feature +++ b/badges/tests/behat/add_badge.feature @@ -1,4 +1,4 @@ -@badges @_only_local +@core @core_badges @_only_local Feature: Add badges to the system In order to give badges to users for their achievements As an admin diff --git a/badges/tests/behat/award_badge.feature b/badges/tests/behat/award_badge.feature index 82ac5ca7765..62e63b302e3 100644 --- a/badges/tests/behat/award_badge.feature +++ b/badges/tests/behat/award_badge.feature @@ -1,4 +1,4 @@ -@award_badges @_only_local +@core @core_badges @_only_local Feature: Award badges In order to award badges to users for their achievements As an admin diff --git a/blocks/comments/tests/behat/add_comment.feature b/blocks/comments/tests/behat/add_comment.feature index 32d45149979..af3d39694f4 100644 --- a/blocks/comments/tests/behat/add_comment.feature +++ b/blocks/comments/tests/behat/add_comment.feature @@ -1,4 +1,4 @@ -@core_comment +@block @block_comments Feature: Add a comment to the comments block In order to comment on a conversation or a topic As a moodle user diff --git a/blocks/comments/tests/behat/delete_comment.feature b/blocks/comments/tests/behat/delete_comment.feature index f2368e5853f..0d2a27d6d85 100644 --- a/blocks/comments/tests/behat/delete_comment.feature +++ b/blocks/comments/tests/behat/delete_comment.feature @@ -1,4 +1,4 @@ -@core_comment +@block @block_comments Feature: Delete comment block messages In order to refine comment block's contents As a moodle teacher diff --git a/blocks/tests/behat/add_blocks.feature b/blocks/tests/behat/add_blocks.feature index 47caaaaeac8..52c510865dd 100644 --- a/blocks/tests/behat/add_blocks.feature +++ b/blocks/tests/behat/add_blocks.feature @@ -1,4 +1,4 @@ -@blocks +@core @core_block Feature: Add blocks In order to add more functionality to pages As a teacher diff --git a/blocks/tests/behat/configure_block_throughout_site.feature b/blocks/tests/behat/configure_block_throughout_site.feature index 3b135d2f2c6..38766184203 100644 --- a/blocks/tests/behat/configure_block_throughout_site.feature +++ b/blocks/tests/behat/configure_block_throughout_site.feature @@ -1,4 +1,4 @@ -@blocks @admin +@core @core_block Feature: Add and configure blocks throughout the site In order to maintain some patterns across all the site As a moodle manager diff --git a/blocks/tests/behat/restrict_available_blocks.feature b/blocks/tests/behat/restrict_available_blocks.feature index 5fa7abdd912..dc37cb7d38e 100644 --- a/blocks/tests/behat/restrict_available_blocks.feature +++ b/blocks/tests/behat/restrict_available_blocks.feature @@ -1,4 +1,4 @@ -@blocks +@core @core_block Feature: Allowed blocks controls In order to prevent the use of some blocks As an admin diff --git a/blog/tests/behat/comment.feature b/blog/tests/behat/comment.feature index 96fcc907dc1..0fdea60b863 100644 --- a/blog/tests/behat/comment.feature +++ b/blog/tests/behat/comment.feature @@ -1,4 +1,4 @@ -@blog +@core @core_blog Feature: Comment on a blog entry In order to respond to a blog post As a moodle user @@ -75,4 +75,4 @@ Feature: Comment on a blog entry And I fill in "content" with "$My own >nasty< \"string\"!" And I follow "Save comment" And I wait "4" seconds - Then I should see "$My own >nasty< \"string\"!" \ No newline at end of file + Then I should see "$My own >nasty< \"string\"!" diff --git a/cohort/tests/behat/add_cohort.feature b/cohort/tests/behat/add_cohort.feature index 42de722c7b9..cb7554ff1ce 100644 --- a/cohort/tests/behat/add_cohort.feature +++ b/cohort/tests/behat/add_cohort.feature @@ -1,4 +1,4 @@ -@admin @cohorts +@core @core_cohort Feature: Add cohorts of users In order to create site-wide groups As a moodle admin diff --git a/cohort/tests/behat/upload_cohort_users.feature b/cohort/tests/behat/upload_cohort_users.feature index d0c851ab66e..300feafbf96 100644 --- a/cohort/tests/behat/upload_cohort_users.feature +++ b/cohort/tests/behat/upload_cohort_users.feature @@ -1,4 +1,4 @@ -@admin @cohorts @_only_local +@core @core_cohort @_only_local Feature: Upload users to a cohort In order to quickly fill site-wide groups with users As a moodle admin diff --git a/completion/tests/behat/enable_manual_complete_mark.feature b/completion/tests/behat/enable_manual_complete_mark.feature index 7ec03a12334..b53b0cb23e1 100644 --- a/completion/tests/behat/enable_manual_complete_mark.feature +++ b/completion/tests/behat/enable_manual_complete_mark.feature @@ -1,4 +1,4 @@ -@core_completion +@core @core_completion Feature: Allow students to manually mark an activity as complete In order to let students decide when an activity is completed As a moodle teacher diff --git a/completion/tests/behat/restrict_section_availability.feature b/completion/tests/behat/restrict_section_availability.feature index 2c85504f040..78e763d7470 100644 --- a/completion/tests/behat/restrict_section_availability.feature +++ b/completion/tests/behat/restrict_section_availability.feature @@ -1,4 +1,4 @@ -@core_completion +@core @core_completion Feature: Restrict sections availability through completion conditions In order to control section's contents access through activities completion As a moodle teacher diff --git a/course/tests/behat/activities_group_icons.feature b/course/tests/behat/activities_group_icons.feature index 746b7e37083..82cd3f277c3 100644 --- a/course/tests/behat/activities_group_icons.feature +++ b/course/tests/behat/activities_group_icons.feature @@ -1,4 +1,4 @@ -@core_course @_cross_browser +@core @core_course @_cross_browser Feature: Toggle activities groups mode from the course page In order to split activities in groups As a moodle teacher diff --git a/course/tests/behat/activities_indentation.feature b/course/tests/behat/activities_indentation.feature index 396bc0cc9d0..5f960d851a4 100644 --- a/course/tests/behat/activities_indentation.feature +++ b/course/tests/behat/activities_indentation.feature @@ -1,4 +1,4 @@ -@core_course @_cross_browser +@core @core_course @_cross_browser Feature: Indent items on the course page In order to create a structured view of activities As a moodle teacher diff --git a/course/tests/behat/activities_visibility_icons.feature b/course/tests/behat/activities_visibility_icons.feature index 8c1e1d7d7af..6f6029923a7 100644 --- a/course/tests/behat/activities_visibility_icons.feature +++ b/course/tests/behat/activities_visibility_icons.feature @@ -1,4 +1,4 @@ -@core_course @_cross_browser +@core @core_course @_cross_browser Feature: Toggle activities visibility from the course page In order to delay activities availability As a moodle teacher diff --git a/course/tests/behat/add_activities.feature b/course/tests/behat/add_activities.feature index b6e9cb5bd09..40359164c90 100644 --- a/course/tests/behat/add_activities.feature +++ b/course/tests/behat/add_activities.feature @@ -1,4 +1,4 @@ -@core_course +@core @core_course Feature: Add activities to courses In order to provide tools for students learning As a teacher diff --git a/course/tests/behat/edit_settings.feature b/course/tests/behat/edit_settings.feature index 465cc27bad6..2849d590f6c 100644 --- a/course/tests/behat/edit_settings.feature +++ b/course/tests/behat/edit_settings.feature @@ -1,4 +1,4 @@ -@core_course +@core @core_course Feature: Edit course settings In order to set the course according to my teaching needs As a moodle teacher diff --git a/course/tests/behat/force_group_mode.feature b/course/tests/behat/force_group_mode.feature index 2ddccd5c387..8e065814a8d 100644 --- a/course/tests/behat/force_group_mode.feature +++ b/course/tests/behat/force_group_mode.feature @@ -1,4 +1,4 @@ -@core_course @_cross_browser +@core @core_course @_cross_browser Feature: Force group mode in a course In order to use the same group mode all over the course As a moodle teacher diff --git a/course/tests/behat/max_number_sections.feature b/course/tests/behat/max_number_sections.feature index 5b2c0ff1761..c0efd8969d4 100644 --- a/course/tests/behat/max_number_sections.feature +++ b/course/tests/behat/max_number_sections.feature @@ -1,4 +1,4 @@ -@core_course @admin +@core @core_course Feature: The maximum number of weeks/topics in a course can be configured In order to set boundaries to courses size As a moodle manager diff --git a/course/tests/behat/paged_course_navigation.feature b/course/tests/behat/paged_course_navigation.feature index f7268b6cca4..d46694b27dc 100644 --- a/course/tests/behat/paged_course_navigation.feature +++ b/course/tests/behat/paged_course_navigation.feature @@ -1,4 +1,4 @@ -@core_course +@core @core_course Feature: Course paged mode In order to split the course in parts As a moodle teacher diff --git a/course/tests/behat/rename_roles.feature b/course/tests/behat/rename_roles.feature index 7a1c8c7563c..db0cd32462d 100644 --- a/course/tests/behat/rename_roles.feature +++ b/course/tests/behat/rename_roles.feature @@ -1,4 +1,4 @@ -@core_course +@core @core_course Feature: Rename roles within a course In order to set course roles names according to their responsabilities As a moodle teacher diff --git a/course/tests/behat/restrict_available_activities.feature b/course/tests/behat/restrict_available_activities.feature index 767040b3847..96be033ec70 100644 --- a/course/tests/behat/restrict_available_activities.feature +++ b/course/tests/behat/restrict_available_activities.feature @@ -1,4 +1,4 @@ -@core_course @admin +@core @core_course Feature: Restrict activities availability In order to prevent the use of some activities As a moodle admin diff --git a/course/tests/behat/section_highlighting.feature b/course/tests/behat/section_highlighting.feature index dfb5ab585ec..567292bcba8 100644 --- a/course/tests/behat/section_highlighting.feature +++ b/course/tests/behat/section_highlighting.feature @@ -1,4 +1,4 @@ -@core_course @_cross_browser +@core @core_course @_cross_browser Feature: Topic's course sections highlighting In order to highlight parts of the course to students As a teacher diff --git a/course/tests/behat/section_visibility.feature b/course/tests/behat/section_visibility.feature index dad5d8c29cc..9a433b3afdb 100644 --- a/course/tests/behat/section_visibility.feature +++ b/course/tests/behat/section_visibility.feature @@ -1,4 +1,4 @@ -@core_course @_cross_browser +@core @core_course @_cross_browser Feature: Show/hide course sections In order to delay sections availability As a moodle teacher diff --git a/enrol/guest/tests/behat/guest_access.feature b/enrol/guest/tests/behat/guest_access.feature index e86c98ecf94..bb0e13bc39d 100644 --- a/enrol/guest/tests/behat/guest_access.feature +++ b/enrol/guest/tests/behat/guest_access.feature @@ -1,4 +1,4 @@ -@enrol_guest +@enrol @enrol_guest Feature: Guest users can auto-enrol themself in courses where guest access is allowed In order to access courses contents As a guest diff --git a/enrol/self/tests/behat/self_enrolment.feature b/enrol/self/tests/behat/self_enrolment.feature index bfbd75aa411..f64d62e0661 100644 --- a/enrol/self/tests/behat/self_enrolment.feature +++ b/enrol/self/tests/behat/self_enrolment.feature @@ -1,4 +1,4 @@ -@enrol_self +@enrol @enrol_self Feature: Users can auto-enrol themself in courses where self enrolment is allowed In order to participate in courses As a moodle user diff --git a/group/tests/behat/auto_creation.feature b/group/tests/behat/auto_creation.feature index 5c10178be7b..4c9b0caed5b 100644 --- a/group/tests/behat/auto_creation.feature +++ b/group/tests/behat/auto_creation.feature @@ -1,4 +1,4 @@ -@core_group +@core @core_group Feature: Automatic creation of groups In order to quickly create groups As a teacher diff --git a/group/tests/behat/create_groups.feature b/group/tests/behat/create_groups.feature index edd565a6858..09ef5a0602b 100644 --- a/group/tests/behat/create_groups.feature +++ b/group/tests/behat/create_groups.feature @@ -1,4 +1,4 @@ -@core_group +@core @core_group Feature: Organize students into groups In order to organize course activities in groups As a moodle teacher diff --git a/group/tests/behat/id_uniqueness.feature b/group/tests/behat/id_uniqueness.feature index 03e63a43b13..04a70b48ff7 100644 --- a/group/tests/behat/id_uniqueness.feature +++ b/group/tests/behat/id_uniqueness.feature @@ -1,4 +1,4 @@ -@core_group +@core @core_group Feature: Uniqueness of Group ID number In order to create unique groups and groupings As a moodle teacher diff --git a/lib/editor/tinymce/tests/behat/edit_available_icons.feature b/lib/editor/tinymce/tests/behat/edit_available_icons.feature index b682c409e46..42c797117f2 100644 --- a/lib/editor/tinymce/tests/behat/edit_available_icons.feature +++ b/lib/editor/tinymce/tests/behat/edit_available_icons.feature @@ -1,4 +1,4 @@ -@editor_tinymce +@editor @editor_tinymce Feature: Add or remove items from the TinyMCE editor toolbar In order to customize the TinyMCE editor appearance As a moodle admin diff --git a/message/tests/behat/block_users.feature b/message/tests/behat/block_users.feature index cf6120bd6ba..514e23b534d 100644 --- a/message/tests/behat/block_users.feature +++ b/message/tests/behat/block_users.feature @@ -1,4 +1,4 @@ -@core_message +@core @core_message Feature: Block users from contacting me In order to block other users As a moodle user diff --git a/message/tests/behat/manage_contacts.feature b/message/tests/behat/manage_contacts.feature index a8dea48d638..ba79e74eb83 100644 --- a/message/tests/behat/manage_contacts.feature +++ b/message/tests/behat/manage_contacts.feature @@ -1,4 +1,4 @@ -@core_message +@core @core_message Feature: Manage contacts In order to easily access the users I interact more with As a moodle user diff --git a/message/tests/behat/search_history.feature b/message/tests/behat/search_history.feature index 55e235125b3..2eb92cf2252 100644 --- a/message/tests/behat/search_history.feature +++ b/message/tests/behat/search_history.feature @@ -1,4 +1,4 @@ -@core_message +@core @core_message Feature: Users can search their message history In order to read old messages As a moodle user diff --git a/mod/assign/tests/behat/file_submission.feature b/mod/assign/tests/behat/file_submission.feature index f1e7d946570..baae46dee7a 100644 --- a/mod/assign/tests/behat/file_submission.feature +++ b/mod/assign/tests/behat/file_submission.feature @@ -1,4 +1,4 @@ -@mod_assign @_only_local +@mod @mod_assign @_only_local Feature: In an assignment, students can upload files for assessment In order to complete my assignments providing files As a moodle student diff --git a/mod/assign/tests/behat/group_submission.feature b/mod/assign/tests/behat/group_submission.feature index 77e0f90ec69..0cdc6e00b9d 100644 --- a/mod/assign/tests/behat/group_submission.feature +++ b/mod/assign/tests/behat/group_submission.feature @@ -1,4 +1,4 @@ -@mod_assign +@mod @mod_assign Feature: Group assignment submissions In order to allow students to work collaboratively on an assignment As a moodle teacher diff --git a/mod/assign/tests/behat/online_submissions.feature b/mod/assign/tests/behat/online_submissions.feature index 999242abeaf..f66fffc747b 100644 --- a/mod/assign/tests/behat/online_submissions.feature +++ b/mod/assign/tests/behat/online_submissions.feature @@ -1,4 +1,4 @@ -@mod_assign +@mod @mod_assign Feature: In an assignment, students can add and edit text online In order to complete my submissions online As a student diff --git a/mod/assign/tests/behat/prevent_submission_changes.feature b/mod/assign/tests/behat/prevent_submission_changes.feature index 623749682bd..e00d0133bf1 100644 --- a/mod/assign/tests/behat/prevent_submission_changes.feature +++ b/mod/assign/tests/behat/prevent_submission_changes.feature @@ -1,4 +1,4 @@ -@mod_assign @mod +@mod @mod_assign Feature: Prevent or allow assignment submission changes In order to control when a student can change his/her submission As a moodle teacher diff --git a/mod/choice/tests/behat/add_choice.feature b/mod/choice/tests/behat/add_choice.feature index 22c42394095..848dc9366ae 100644 --- a/mod/choice/tests/behat/add_choice.feature +++ b/mod/choice/tests/behat/add_choice.feature @@ -1,4 +1,4 @@ -@mod_choice +@mod @mod_choice Feature: Add choice activity In order to ask questions as a choice of multiple responses As a moodle teacher diff --git a/mod/choice/tests/behat/publish_results.feature b/mod/choice/tests/behat/publish_results.feature index 1f60dd395b5..cbf4309eeef 100644 --- a/mod/choice/tests/behat/publish_results.feature +++ b/mod/choice/tests/behat/publish_results.feature @@ -1,4 +1,4 @@ -@mod_choice +@mod @mod_choice Feature: A teacher can choose one of 4 options for publishing choice results In order to display choice activities outcomes As a moodle teacher diff --git a/mod/choice/tests/behat/publish_results_anonymously.feature b/mod/choice/tests/behat/publish_results_anonymously.feature index 8fc24526a06..aa31519604d 100644 --- a/mod/choice/tests/behat/publish_results_anonymously.feature +++ b/mod/choice/tests/behat/publish_results_anonymously.feature @@ -1,4 +1,4 @@ -@mod_choice +@mod @mod_choice Feature: A teacher can choose whether to publish choice activity results anonymously or showing names In order to keep students privacy or to give more info to students As a moodle teacher diff --git a/mod/forum/tests/behat/add_forum.feature b/mod/forum/tests/behat/add_forum.feature index 80466ea6097..11357e03b53 100644 --- a/mod/forum/tests/behat/add_forum.feature +++ b/mod/forum/tests/behat/add_forum.feature @@ -1,4 +1,4 @@ -@mod_forum +@mod @mod_forum Feature: Add forum activities and discussions In order to discuss topics with other users As a moodle teacher diff --git a/mod/forum/tests/behat/completion_condition_number_discussions.feature b/mod/forum/tests/behat/completion_condition_number_discussions.feature index 1f2052d1cbe..22739276bfc 100644 --- a/mod/forum/tests/behat/completion_condition_number_discussions.feature +++ b/mod/forum/tests/behat/completion_condition_number_discussions.feature @@ -1,4 +1,4 @@ -@mod_forum +@mod @mod_forum Feature: Set a certain number of discussions as a completion condition for a forum In order to ensure students are participating on forums As a moodle teacher diff --git a/mod/forum/tests/behat/discussion_display.feature b/mod/forum/tests/behat/discussion_display.feature index 6885644086c..fb9d64541ff 100644 --- a/mod/forum/tests/behat/discussion_display.feature +++ b/mod/forum/tests/behat/discussion_display.feature @@ -1,4 +1,4 @@ -@mod_forum +@mod @mod_forum Feature: Students can choose from 4 discussion display options and their choice is remembered In order to read forum posts in a suitable view As a moodle user diff --git a/mod/forum/tests/behat/edit_post_student.feature b/mod/forum/tests/behat/edit_post_student.feature index e693af64230..86e20f51e9e 100644 --- a/mod/forum/tests/behat/edit_post_student.feature +++ b/mod/forum/tests/behat/edit_post_student.feature @@ -1,4 +1,4 @@ -@mod_forum +@mod @mod_forum Feature: Students can edit or delete their forum posts within a set time limit In order to refine forum posts As a moodle user diff --git a/mod/forum/tests/behat/edit_post_teacher.feature b/mod/forum/tests/behat/edit_post_teacher.feature index 6d81fbd0e51..27ecb49ba81 100644 --- a/mod/forum/tests/behat/edit_post_teacher.feature +++ b/mod/forum/tests/behat/edit_post_teacher.feature @@ -1,4 +1,4 @@ -@mod_forum +@mod @mod_forum Feature: Teachers can edit or delete any forum post In order to refine the forum contents As a moodle teacher diff --git a/mod/forum/tests/behat/single_forum_discussion.feature b/mod/forum/tests/behat/single_forum_discussion.feature index 9bf6526fd91..dcc7674259e 100644 --- a/mod/forum/tests/behat/single_forum_discussion.feature +++ b/mod/forum/tests/behat/single_forum_discussion.feature @@ -1,4 +1,4 @@ -@mod_forum +@mod @mod_forum Feature: Single simple forum discussion type In order to restrict the discussion topic to one As a moodle teacher diff --git a/mod/forum/tests/behat/track_read_posts.feature b/mod/forum/tests/behat/track_read_posts.feature index 0e8fe0d883c..01d5a40bfd4 100644 --- a/mod/forum/tests/behat/track_read_posts.feature +++ b/mod/forum/tests/behat/track_read_posts.feature @@ -1,4 +1,4 @@ -@mod_forum +@mod @mod_forum Feature: A teacher can set one of 3 possible options for tracking read forum posts In order to ease the forum posts follow up As a moodle user diff --git a/mod/glossary/tests/behat/entries_always_editable.feature b/mod/glossary/tests/behat/entries_always_editable.feature index 617617a8111..9144689692f 100644 --- a/mod/glossary/tests/behat/entries_always_editable.feature +++ b/mod/glossary/tests/behat/entries_always_editable.feature @@ -1,4 +1,4 @@ -@mod_glossary @mod +@mod @mod_glossary Feature: A teacher can set whether glossary entries are always editable or not In order to ensure students think before adding new entries As a moodle teacher diff --git a/mod/glossary/tests/behat/prevent_duplicate_entries.feature b/mod/glossary/tests/behat/prevent_duplicate_entries.feature index 196d220982e..af8cb4a3e21 100644 --- a/mod/glossary/tests/behat/prevent_duplicate_entries.feature +++ b/mod/glossary/tests/behat/prevent_duplicate_entries.feature @@ -1,4 +1,4 @@ -@mod_glossary +@mod @mod_glossary Feature: A teacher can choose whether to allow duplicate entries in a glossary In order to avoid confusion As a moodle teacher diff --git a/mod/glossary/tests/behat/print_friendly_version.feature b/mod/glossary/tests/behat/print_friendly_version.feature index 464b8503064..9703a577947 100644 --- a/mod/glossary/tests/behat/print_friendly_version.feature +++ b/mod/glossary/tests/behat/print_friendly_version.feature @@ -1,4 +1,4 @@ -@mod_glossary @mod +@mod @mod_glossary Feature: A teacher can choose whether to provide a printer-friendly glossary entries list In order to print glossaries easily As a moodle user diff --git a/mod/glossary/tests/behat/search_entries.feature b/mod/glossary/tests/behat/search_entries.feature index 2f6cd44f5c1..b0780392118 100644 --- a/mod/glossary/tests/behat/search_entries.feature +++ b/mod/glossary/tests/behat/search_entries.feature @@ -1,4 +1,4 @@ -@mod_glossary @mod +@mod @mod_glossary Feature: Glossary entries can be searched or browsed by alphabet, category, date or author In order to find entries in a glossary As a moodle user diff --git a/mod/lesson/tests/behat/date_availability.feature b/mod/lesson/tests/behat/date_availability.feature index 6d54f1425ae..0e4c2f55063 100644 --- a/mod/lesson/tests/behat/date_availability.feature +++ b/mod/lesson/tests/behat/date_availability.feature @@ -1,4 +1,4 @@ -@mod_lesson @mod +@mod @mod_lesson Feature: A teacher can set available from and deadline dates to access a lesson In order to schedule lesson activities As a moodle teacher diff --git a/mod/lesson/tests/behat/lesson_navigation.feature b/mod/lesson/tests/behat/lesson_navigation.feature index c0fadd78327..96d377bfafb 100644 --- a/mod/lesson/tests/behat/lesson_navigation.feature +++ b/mod/lesson/tests/behat/lesson_navigation.feature @@ -1,4 +1,4 @@ -@mod_lesson @mod +@mod @mod_lesson Feature: In a lesson activity, students can navigate through a series of pages in various ways depending upon their answers to questions In order to create a lesson with conditional paths As a teacher diff --git a/mod/lesson/tests/behat/password_protection.feature b/mod/lesson/tests/behat/password_protection.feature index ad7f752a4af..64415448611 100644 --- a/mod/lesson/tests/behat/password_protection.feature +++ b/mod/lesson/tests/behat/password_protection.feature @@ -1,4 +1,4 @@ -@mod_lesson @mod +@mod @mod_lesson Feature: A teacher can password protect a lesson In order to avoid undesired accesses to lesson activities As a moodle teacher diff --git a/mod/lesson/tests/behat/time_limit.feature b/mod/lesson/tests/behat/time_limit.feature index 5375190d2f5..85ce925267b 100644 --- a/mod/lesson/tests/behat/time_limit.feature +++ b/mod/lesson/tests/behat/time_limit.feature @@ -1,4 +1,4 @@ -@mod_lesson @mod +@mod @mod_lesson Feature: A teacher can set a time limit for a lesson In order to restrict the time students have to complete a lesson As a moodle teacher diff --git a/mod/survey/tests/behat/survey_types.feature b/mod/survey/tests/behat/survey_types.feature index 60d302a9c81..fefee34a529 100644 --- a/mod/survey/tests/behat/survey_types.feature +++ b/mod/survey/tests/behat/survey_types.feature @@ -1,4 +1,4 @@ -@mod_survey +@mod @mod_survey Feature: A teacher can set three types of survey activity In order to use verified survey instruments As a moodle teacher diff --git a/mod/wiki/tests/behat/collaborative_individual.feature b/mod/wiki/tests/behat/collaborative_individual.feature index d48375fa69c..6cd258c28ca 100644 --- a/mod/wiki/tests/behat/collaborative_individual.feature +++ b/mod/wiki/tests/behat/collaborative_individual.feature @@ -1,4 +1,4 @@ -@mod_wiki @mod +@mod @mod_wiki Feature: A teacher can set a wiki to be collaborative or individual In order to allow both collaborative wikis and individual journals with history register As a teacher diff --git a/mod/wiki/tests/behat/page_history.feature b/mod/wiki/tests/behat/page_history.feature index 92d8712de95..48ecf3e7ed5 100644 --- a/mod/wiki/tests/behat/page_history.feature +++ b/mod/wiki/tests/behat/page_history.feature @@ -1,4 +1,4 @@ -@mod_wiki @mod +@mod @mod_wiki Feature: A history of each wiki page is available In order to know how a wiki page evolved over the time and how changed what As a moodle user diff --git a/mod/wiki/tests/behat/preview_page.feature b/mod/wiki/tests/behat/preview_page.feature index 3cd1288ce5d..770f7b194a5 100644 --- a/mod/wiki/tests/behat/preview_page.feature +++ b/mod/wiki/tests/behat/preview_page.feature @@ -1,4 +1,4 @@ -@mod_wiki @mod +@mod @mod_wiki Feature: Edited wiki pages may be previewed before saving Background: diff --git a/mod/wiki/tests/behat/wiki_formats.feature b/mod/wiki/tests/behat/wiki_formats.feature index 341d98bc827..737379af4b2 100644 --- a/mod/wiki/tests/behat/wiki_formats.feature +++ b/mod/wiki/tests/behat/wiki_formats.feature @@ -1,4 +1,4 @@ -@mod_wiki @mod +@mod @mod_wiki Feature: There is a choice of formats for editing a wiki page In order to allow users to use their favorite wiki format As a moodle user diff --git a/question/tests/behat/edit_questions.feature b/question/tests/behat/edit_questions.feature index 124b86e55f0..903210dbe04 100644 --- a/question/tests/behat/edit_questions.feature +++ b/question/tests/behat/edit_questions.feature @@ -1,4 +1,4 @@ -@core_question +@core @core_question Feature: A teacher can edit questions in the question bank In order to refine questions contents As a teacher diff --git a/question/tests/behat/preview_question.feature b/question/tests/behat/preview_question.feature index e38d4a5c5a1..2ec1952edde 100644 --- a/question/tests/behat/preview_question.feature +++ b/question/tests/behat/preview_question.feature @@ -1,4 +1,4 @@ -@core_question +@core @core_question Feature: A teacher can preview questions in the question bank In order to ensure the questions are properly created As a teacher diff --git a/question/tests/behat/sort_questions.feature b/question/tests/behat/sort_questions.feature index ee7ceddfa9b..27afd481090 100644 --- a/question/tests/behat/sort_questions.feature +++ b/question/tests/behat/sort_questions.feature @@ -1,4 +1,4 @@ -@core_question +@core @core_question Feature: A teacher can sort questions in the question bank In order to order the question bank's questions As a teacher diff --git a/repository/recent/tests/behat/add_recent.feature b/repository/recent/tests/behat/add_recent.feature index d7d6eb124bc..0f71e445f52 100644 --- a/repository/recent/tests/behat/add_recent.feature +++ b/repository/recent/tests/behat/add_recent.feature @@ -1,4 +1,4 @@ -@repository_recent @_only_local +@repository @repository_recent @_only_local Feature: Recent files repository lists the recently used files In order to save time when selecting files As a moodle user diff --git a/repository/tests/behat/cancel_add_file.feature b/repository/tests/behat/cancel_add_file.feature index d9604f7ee71..a4f91552552 100644 --- a/repository/tests/behat/cancel_add_file.feature +++ b/repository/tests/behat/cancel_add_file.feature @@ -1,4 +1,4 @@ -@repository @_only_local +@core @core_filepicker @_only_local Feature: A selected file can be cancelled In order to refine the file manager contents As a moodle user diff --git a/repository/tests/behat/create_folders.feature b/repository/tests/behat/create_folders.feature index d34712a19ab..d7522a837ee 100644 --- a/repository/tests/behat/create_folders.feature +++ b/repository/tests/behat/create_folders.feature @@ -1,4 +1,4 @@ -@core_form @filepicker +@core @core_filepicker Feature: Create folders in the file manager In order to create a directory structure in a file area As a moodle user diff --git a/repository/tests/behat/delete_files.feature b/repository/tests/behat/delete_files.feature index 0f6f93b88bb..99b86a07d0f 100644 --- a/repository/tests/behat/delete_files.feature +++ b/repository/tests/behat/delete_files.feature @@ -1,4 +1,4 @@ -@filepicker @_only_local +@core @core_filepicker @_only_local Feature: Delete files and folders from the file manager In order to clean the file manager contents As a moodle user diff --git a/repository/tests/behat/zip_and_unzip.feature b/repository/tests/behat/zip_and_unzip.feature index ff5f79a983e..20a4339e5f5 100644 --- a/repository/tests/behat/zip_and_unzip.feature +++ b/repository/tests/behat/zip_and_unzip.feature @@ -1,4 +1,4 @@ -@core_form @filepicker +@core @core_filepicker Feature: Zip folders and unzip compressed files In order to download or add contents to file areas easily As a moodle user diff --git a/repository/upload/tests/behat/upload_file.feature b/repository/upload/tests/behat/upload_file.feature index 2f045751f3b..65d4a307888 100644 --- a/repository/upload/tests/behat/upload_file.feature +++ b/repository/upload/tests/behat/upload_file.feature @@ -1,4 +1,4 @@ -@repository_upload @core_form @repository @_only_local +@repository @repository_upload @_only_local Feature: Upload files In order to add contents As a moodle user