diff --git a/admin/tests/behat/display_short_names.feature b/admin/tests/behat/display_short_names.feature index 8f8cdbb30f0..b6c825812e8 100644 --- a/admin/tests/behat/display_short_names.feature +++ b/admin/tests/behat/display_short_names.feature @@ -1,7 +1,7 @@ @core @core_admin Feature: Display extended course names In order to display more info about the courses - As a moodle admin + As an admin I need to display courses short names along with courses full names Background: diff --git a/admin/tests/behat/filter_users.feature b/admin/tests/behat/filter_users.feature index 5d8111304fd..bb5e65722f7 100644 --- a/admin/tests/behat/filter_users.feature +++ b/admin/tests/behat/filter_users.feature @@ -1,7 +1,7 @@ @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 + As an admin I need to filter the users account list using different filter Background: diff --git a/admin/tests/behat/upload_users.feature b/admin/tests/behat/upload_users.feature index bc6e29f69ff..9ff0ab6f7ba 100644 --- a/admin/tests/behat/upload_users.feature +++ b/admin/tests/behat/upload_users.feature @@ -1,7 +1,7 @@ @core @core_admin @_only_local Feature: Upload users In order to add users to the system - As a moodle admin + As an admin I need to upload files containing the users data @javascript diff --git a/admin/tool/behat/tests/behat/data_generators.feature b/admin/tool/behat/tests/behat/data_generators.feature index d09f880d841..61eb6ea3daf 100644 --- a/admin/tool/behat/tests/behat/data_generators.feature +++ b/admin/tool/behat/tests/behat/data_generators.feature @@ -1,7 +1,7 @@ @tool @tool_behat Feature: Set up contextual data for tests In order to write tests quickly - As a moodle developer + As a developer I need to fill the database with fixtures Scenario: Add a bunch of users diff --git a/admin/tool/behat/tests/behat/edit_permissions.feature b/admin/tool/behat/tests/behat/edit_permissions.feature index 7389d07cbbc..b16b0e0c8a0 100644 --- a/admin/tool/behat/tests/behat/edit_permissions.feature +++ b/admin/tool/behat/tests/behat/edit_permissions.feature @@ -1,7 +1,7 @@ @tool @tool_behat Feature: Edit capabilities In order to extend and restrict moodle features - As an admin or teacher + As an admin or a teacher I need to allow/deny the existing capabilities at different levels Background: diff --git a/admin/tool/behat/tests/behat/test_environment.feature b/admin/tool/behat/tests/behat/test_environment.feature index e64ef5d1446..1fa202b9b4d 100644 --- a/admin/tool/behat/tests/behat/test_environment.feature +++ b/admin/tool/behat/tests/behat/test_environment.feature @@ -1,7 +1,7 @@ @tool @tool_behat Feature: Set up the testing environment In order to execute automated acceptance tests - As a moodle developer + As a developer I need to use the test environment instead of the regular environment Scenario: Accessing the site diff --git a/auth/tests/behat/login.feature b/auth/tests/behat/login.feature index 7de5405fba7..72e449217a5 100644 --- a/auth/tests/behat/login.feature +++ b/auth/tests/behat/login.feature @@ -1,7 +1,7 @@ @core @core_auth Feature: Authentication In order to validate my credentials in the system - As a moodle user + As a user I need to log into the system Scenario: Login with the predefined admin user diff --git a/backup/util/ui/tests/behat/backup_courses.feature b/backup/util/ui/tests/behat/backup_courses.feature index ba0a84cd51a..488ab6013cb 100644 --- a/backup/util/ui/tests/behat/backup_courses.feature +++ b/backup/util/ui/tests/behat/backup_courses.feature @@ -1,7 +1,7 @@ @core @core_backup Feature: Backup Moodle courses In order to save and store course contents - As a moodle admin + As an admin I need to create backups of courses Background: diff --git a/backup/util/ui/tests/behat/duplicate_activities.feature b/backup/util/ui/tests/behat/duplicate_activities.feature index 901bd7d3c0b..3af2839afee 100644 --- a/backup/util/ui/tests/behat/duplicate_activities.feature +++ b/backup/util/ui/tests/behat/duplicate_activities.feature @@ -1,7 +1,7 @@ @core @core_backup Feature: Duplicate activities In order to set up my course contents quickly - As a moodle teacher + As a teacher I need to duplicate activities inside the same course @javascript diff --git a/backup/util/ui/tests/behat/import_course.feature b/backup/util/ui/tests/behat/import_course.feature index e087094eda8..b1851d399f5 100644 --- a/backup/util/ui/tests/behat/import_course.feature +++ b/backup/util/ui/tests/behat/import_course.feature @@ -1,7 +1,7 @@ @core @core_backup Feature: Import course's contents into another course In order to move and copy contents between courses - As a moodle teacher + As a teacher I need to import a course contents into another course selecting what I want to import @javascript diff --git a/backup/util/ui/tests/behat/restore_moodle2_courses.feature b/backup/util/ui/tests/behat/restore_moodle2_courses.feature index fb6673737d4..f415f07f92f 100644 --- a/backup/util/ui/tests/behat/restore_moodle2_courses.feature +++ b/backup/util/ui/tests/behat/restore_moodle2_courses.feature @@ -1,7 +1,7 @@ @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 + As a teacher and an admin I need to restore them inside other Moodle courses or in new courses Background: diff --git a/blocks/comments/tests/behat/add_comment.feature b/blocks/comments/tests/behat/add_comment.feature index af3d39694f4..ec70958ac27 100644 --- a/blocks/comments/tests/behat/add_comment.feature +++ b/blocks/comments/tests/behat/add_comment.feature @@ -1,7 +1,7 @@ @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 + As a user In need to add comments to courses Background: diff --git a/blocks/comments/tests/behat/delete_comment.feature b/blocks/comments/tests/behat/delete_comment.feature index 0d2a27d6d85..077a0c1e293 100644 --- a/blocks/comments/tests/behat/delete_comment.feature +++ b/blocks/comments/tests/behat/delete_comment.feature @@ -1,7 +1,7 @@ @block @block_comments Feature: Delete comment block messages In order to refine comment block's contents - As a moodle teacher + As a teacher In need to delete comments from courses @javascript diff --git a/blocks/tests/behat/configure_block_throughout_site.feature b/blocks/tests/behat/configure_block_throughout_site.feature index 38766184203..fb97f0483d1 100644 --- a/blocks/tests/behat/configure_block_throughout_site.feature +++ b/blocks/tests/behat/configure_block_throughout_site.feature @@ -1,7 +1,7 @@ @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 + As a manager I need to set and configure blocks throughout the site @javascript diff --git a/blog/tests/behat/comment.feature b/blog/tests/behat/comment.feature index 0fdea60b863..78281940855 100644 --- a/blog/tests/behat/comment.feature +++ b/blog/tests/behat/comment.feature @@ -1,7 +1,7 @@ @core @core_blog Feature: Comment on a blog entry In order to respond to a blog post - As a moodle user + As a user I need to be able to comment on a blog entry Background: diff --git a/cohort/tests/behat/add_cohort.feature b/cohort/tests/behat/add_cohort.feature index cb7554ff1ce..82dd518a9e0 100644 --- a/cohort/tests/behat/add_cohort.feature +++ b/cohort/tests/behat/add_cohort.feature @@ -1,7 +1,7 @@ @core @core_cohort Feature: Add cohorts of users In order to create site-wide groups - As a moodle admin + As an admin I need to create cohorts and add users on them Background: diff --git a/cohort/tests/behat/upload_cohort_users.feature b/cohort/tests/behat/upload_cohort_users.feature index 300feafbf96..e62a13fe938 100644 --- a/cohort/tests/behat/upload_cohort_users.feature +++ b/cohort/tests/behat/upload_cohort_users.feature @@ -1,7 +1,7 @@ @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 + As an admin I need to upload a file with users data containing cohort assigns @javascript diff --git a/completion/tests/behat/enable_manual_complete_mark.feature b/completion/tests/behat/enable_manual_complete_mark.feature index f4839856595..5d9eee19980 100644 --- a/completion/tests/behat/enable_manual_complete_mark.feature +++ b/completion/tests/behat/enable_manual_complete_mark.feature @@ -1,7 +1,7 @@ @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 + As a teacher I need to allow students to mark activities as completed @javascript diff --git a/completion/tests/behat/restrict_section_availability.feature b/completion/tests/behat/restrict_section_availability.feature index 595a974355c..35b7f0902e7 100644 --- a/completion/tests/behat/restrict_section_availability.feature +++ b/completion/tests/behat/restrict_section_availability.feature @@ -1,7 +1,7 @@ @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 + As a teacher I need to restrict sections availability using different conditions @javascript diff --git a/course/tests/behat/activities_group_icons.feature b/course/tests/behat/activities_group_icons.feature index 533fe1df1fd..78c342aa7cb 100644 --- a/course/tests/behat/activities_group_icons.feature +++ b/course/tests/behat/activities_group_icons.feature @@ -1,7 +1,7 @@ @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 + As a teacher I need to change quickly the group mode of an activity @javascript diff --git a/course/tests/behat/activities_indentation.feature b/course/tests/behat/activities_indentation.feature index 826ae5bbb0f..5621e49aae9 100644 --- a/course/tests/behat/activities_indentation.feature +++ b/course/tests/behat/activities_indentation.feature @@ -1,7 +1,7 @@ @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 + As a teacher I need to move activities and resources to left and right @javascript diff --git a/course/tests/behat/activities_visibility_icons.feature b/course/tests/behat/activities_visibility_icons.feature index 872b1a3134a..6ef447f075d 100644 --- a/course/tests/behat/activities_visibility_icons.feature +++ b/course/tests/behat/activities_visibility_icons.feature @@ -1,7 +1,7 @@ @core @core_course @_cross_browser Feature: Toggle activities visibility from the course page In order to delay activities availability - As a moodle teacher + As a teacher I need to quickly change the visibility of an activity @javascript diff --git a/course/tests/behat/edit_settings.feature b/course/tests/behat/edit_settings.feature index 2849d590f6c..7b2f7fcba1e 100644 --- a/course/tests/behat/edit_settings.feature +++ b/course/tests/behat/edit_settings.feature @@ -1,7 +1,7 @@ @core @core_course Feature: Edit course settings In order to set the course according to my teaching needs - As a moodle teacher + As a teacher I need to edit the course settings @javascript diff --git a/course/tests/behat/force_group_mode.feature b/course/tests/behat/force_group_mode.feature index 0389189991f..1d88c8d4a54 100644 --- a/course/tests/behat/force_group_mode.feature +++ b/course/tests/behat/force_group_mode.feature @@ -1,7 +1,7 @@ @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 + As a teacher I need to force the group mode of all course's activities Background: diff --git a/course/tests/behat/max_number_sections.feature b/course/tests/behat/max_number_sections.feature index c0efd8969d4..cb6060ef4c6 100644 --- a/course/tests/behat/max_number_sections.feature +++ b/course/tests/behat/max_number_sections.feature @@ -1,7 +1,7 @@ @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 + As a manager I need to limit the number of weeks/topics a course can have Background: diff --git a/course/tests/behat/paged_course_navigation.feature b/course/tests/behat/paged_course_navigation.feature index d46694b27dc..8c75e4487a3 100644 --- a/course/tests/behat/paged_course_navigation.feature +++ b/course/tests/behat/paged_course_navigation.feature @@ -1,7 +1,7 @@ @core @core_course Feature: Course paged mode In order to split the course in parts - As a moodle teacher + As a teacher I need to display the course in a paged mode and navigate through the different sections @javascript @_cross_browser diff --git a/course/tests/behat/rename_roles.feature b/course/tests/behat/rename_roles.feature index db0cd32462d..d543da0a6ed 100644 --- a/course/tests/behat/rename_roles.feature +++ b/course/tests/behat/rename_roles.feature @@ -1,7 +1,7 @@ @core @core_course Feature: Rename roles within a course In order to set course roles names according to their responsabilities - As a moodle teacher + As a teacher I need to edit the course role names @javascript diff --git a/course/tests/behat/restrict_available_activities.feature b/course/tests/behat/restrict_available_activities.feature index 9ffa0038927..63c1b62ec5b 100644 --- a/course/tests/behat/restrict_available_activities.feature +++ b/course/tests/behat/restrict_available_activities.feature @@ -1,7 +1,7 @@ @core @core_course Feature: Restrict activities availability In order to prevent the use of some activities - As a moodle admin + As an admin I need to control which activities can be used in courses Background: diff --git a/course/tests/behat/section_visibility.feature b/course/tests/behat/section_visibility.feature index bef695e9bdf..eac20519ba5 100644 --- a/course/tests/behat/section_visibility.feature +++ b/course/tests/behat/section_visibility.feature @@ -1,7 +1,7 @@ @core @core_course @_cross_browser Feature: Show/hide course sections In order to delay sections availability - As a moodle teacher + As a teacher I need to show or hide sections @javascript diff --git a/enrol/self/tests/behat/self_enrolment.feature b/enrol/self/tests/behat/self_enrolment.feature index f64d62e0661..978ce3a534b 100644 --- a/enrol/self/tests/behat/self_enrolment.feature +++ b/enrol/self/tests/behat/self_enrolment.feature @@ -1,7 +1,7 @@ @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 + As a user I need to auto enrol me in courses Background: diff --git a/group/tests/behat/create_groups.feature b/group/tests/behat/create_groups.feature index 09ef5a0602b..160d71208e6 100644 --- a/group/tests/behat/create_groups.feature +++ b/group/tests/behat/create_groups.feature @@ -1,7 +1,7 @@ @core @core_group Feature: Organize students into groups In order to organize course activities in groups - As a moodle teacher + As a teacher I need to group students @javascript diff --git a/group/tests/behat/id_uniqueness.feature b/group/tests/behat/id_uniqueness.feature index 04a70b48ff7..b87cf859f01 100644 --- a/group/tests/behat/id_uniqueness.feature +++ b/group/tests/behat/id_uniqueness.feature @@ -1,7 +1,7 @@ @core @core_group Feature: Uniqueness of Group ID number In order to create unique groups and groupings - As a moodle teacher + As a teacher I need to create groups with unique identificators Background: diff --git a/lib/editor/tinymce/tests/behat/edit_available_icons.feature b/lib/editor/tinymce/tests/behat/edit_available_icons.feature index 42c797117f2..dad83469992 100644 --- a/lib/editor/tinymce/tests/behat/edit_available_icons.feature +++ b/lib/editor/tinymce/tests/behat/edit_available_icons.feature @@ -1,7 +1,7 @@ @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 + As an admin I need to add and remove items from the toolbar Background: diff --git a/message/tests/behat/block_users.feature b/message/tests/behat/block_users.feature index 514e23b534d..10fe679e9aa 100644 --- a/message/tests/behat/block_users.feature +++ b/message/tests/behat/block_users.feature @@ -1,7 +1,7 @@ @core @core_message Feature: Block users from contacting me In order to block other users - As a moodle user + As a user I need to prevent specific users to sending me messages @javascript diff --git a/message/tests/behat/manage_contacts.feature b/message/tests/behat/manage_contacts.feature index ba79e74eb83..5d70f054e7b 100644 --- a/message/tests/behat/manage_contacts.feature +++ b/message/tests/behat/manage_contacts.feature @@ -1,7 +1,7 @@ @core @core_message Feature: Manage contacts In order to easily access the users I interact more with - As a moodle user + As a user I need to add and remove users to/from my contacts list Background: diff --git a/message/tests/behat/search_history.feature b/message/tests/behat/search_history.feature index 2eb92cf2252..a9334a0b3e2 100644 --- a/message/tests/behat/search_history.feature +++ b/message/tests/behat/search_history.feature @@ -1,7 +1,7 @@ @core @core_message Feature: Users can search their message history In order to read old messages - As a moodle user + As a user I need to search in my messages history Background: diff --git a/mod/assign/tests/behat/file_submission.feature b/mod/assign/tests/behat/file_submission.feature index baae46dee7a..7bc5380e88b 100644 --- a/mod/assign/tests/behat/file_submission.feature +++ b/mod/assign/tests/behat/file_submission.feature @@ -1,7 +1,7 @@ @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 + As a student I need to upload files from my file system to be assessed @javascript diff --git a/mod/assign/tests/behat/group_submission.feature b/mod/assign/tests/behat/group_submission.feature index 0cdc6e00b9d..665ea12cc9e 100644 --- a/mod/assign/tests/behat/group_submission.feature +++ b/mod/assign/tests/behat/group_submission.feature @@ -1,7 +1,7 @@ @mod @mod_assign Feature: Group assignment submissions In order to allow students to work collaboratively on an assignment - As a moodle teacher + As a teacher I need to group submissions in groups @javascript diff --git a/mod/assign/tests/behat/prevent_submission_changes.feature b/mod/assign/tests/behat/prevent_submission_changes.feature index e00d0133bf1..ff5b8543e49 100644 --- a/mod/assign/tests/behat/prevent_submission_changes.feature +++ b/mod/assign/tests/behat/prevent_submission_changes.feature @@ -1,7 +1,7 @@ @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 + As a teacher I need to prevent or allow student submission at any time @javascript diff --git a/mod/choice/tests/behat/add_choice.feature b/mod/choice/tests/behat/add_choice.feature index c6e806ef8fa..f08067c18a5 100644 --- a/mod/choice/tests/behat/add_choice.feature +++ b/mod/choice/tests/behat/add_choice.feature @@ -1,7 +1,7 @@ @mod @mod_choice Feature: Add choice activity In order to ask questions as a choice of multiple responses - As a moodle teacher + As a teacher I need to add choice activities to courses @javascript diff --git a/mod/choice/tests/behat/publish_results.feature b/mod/choice/tests/behat/publish_results.feature index 8f937cf71be..37bceea2693 100644 --- a/mod/choice/tests/behat/publish_results.feature +++ b/mod/choice/tests/behat/publish_results.feature @@ -1,7 +1,7 @@ @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 + As a teacher I need to publish the choice activity results in different ways Background: diff --git a/mod/choice/tests/behat/publish_results_anonymously.feature b/mod/choice/tests/behat/publish_results_anonymously.feature index af0690ed8bf..7d1cc335798 100644 --- a/mod/choice/tests/behat/publish_results_anonymously.feature +++ b/mod/choice/tests/behat/publish_results_anonymously.feature @@ -1,7 +1,7 @@ @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 + As a teacher I need to select whether I want other students to know who selected what option Background: diff --git a/mod/forum/tests/behat/add_forum.feature b/mod/forum/tests/behat/add_forum.feature index 2eaf6c5a1cc..90edd7473d2 100644 --- a/mod/forum/tests/behat/add_forum.feature +++ b/mod/forum/tests/behat/add_forum.feature @@ -1,7 +1,7 @@ @mod @mod_forum Feature: Add forum activities and discussions In order to discuss topics with other users - As a moodle teacher + As a teacher I need to add forum activities to moodle courses @javascript diff --git a/mod/forum/tests/behat/completion_condition_number_discussions.feature b/mod/forum/tests/behat/completion_condition_number_discussions.feature index e89fba90958..0bb30f440cc 100644 --- a/mod/forum/tests/behat/completion_condition_number_discussions.feature +++ b/mod/forum/tests/behat/completion_condition_number_discussions.feature @@ -1,7 +1,7 @@ @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 + As a teacher I need to set a minimum number of discussions to mark the forum activity as completed @javascript diff --git a/mod/forum/tests/behat/discussion_display.feature b/mod/forum/tests/behat/discussion_display.feature index 11dc57ecb98..a6309f6860c 100644 --- a/mod/forum/tests/behat/discussion_display.feature +++ b/mod/forum/tests/behat/discussion_display.feature @@ -1,7 +1,7 @@ @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 + As a user I need to select which display method I want to use Background: diff --git a/mod/forum/tests/behat/edit_post_student.feature b/mod/forum/tests/behat/edit_post_student.feature index f644569d455..ea196f4b98a 100644 --- a/mod/forum/tests/behat/edit_post_student.feature +++ b/mod/forum/tests/behat/edit_post_student.feature @@ -1,7 +1,7 @@ @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 + As a user I need to edit or delete my forum posts within a certain period of time after posting Background: diff --git a/mod/forum/tests/behat/edit_post_teacher.feature b/mod/forum/tests/behat/edit_post_teacher.feature index 6af33cbccf3..5dafb8fb5aa 100644 --- a/mod/forum/tests/behat/edit_post_teacher.feature +++ b/mod/forum/tests/behat/edit_post_teacher.feature @@ -1,7 +1,7 @@ @mod @mod_forum Feature: Teachers can edit or delete any forum post In order to refine the forum contents - As a moodle teacher + As a teacher I need to edit or delete any user's forum posts Background: diff --git a/mod/forum/tests/behat/single_forum_discussion.feature b/mod/forum/tests/behat/single_forum_discussion.feature index 818c1765ff9..72ed9287117 100644 --- a/mod/forum/tests/behat/single_forum_discussion.feature +++ b/mod/forum/tests/behat/single_forum_discussion.feature @@ -1,7 +1,7 @@ @mod @mod_forum Feature: Single simple forum discussion type In order to restrict the discussion topic to one - As a moodle teacher + As a teacher I need to create a forum with a single simple discussion Background: diff --git a/mod/forum/tests/behat/track_read_posts.feature b/mod/forum/tests/behat/track_read_posts.feature index 6b8ab559da3..2c3c7ec5959 100644 --- a/mod/forum/tests/behat/track_read_posts.feature +++ b/mod/forum/tests/behat/track_read_posts.feature @@ -1,7 +1,7 @@ @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 + As a user I need to distinct the unread posts from the read ones Background: diff --git a/mod/glossary/tests/behat/entries_always_editable.feature b/mod/glossary/tests/behat/entries_always_editable.feature index 9144689692f..80a14de1093 100644 --- a/mod/glossary/tests/behat/entries_always_editable.feature +++ b/mod/glossary/tests/behat/entries_always_editable.feature @@ -1,7 +1,7 @@ @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 + As a teacher I need to prevent entries to be always editable @javascript diff --git a/mod/glossary/tests/behat/prevent_duplicate_entries.feature b/mod/glossary/tests/behat/prevent_duplicate_entries.feature index af8cb4a3e21..ce9d5ec2048 100644 --- a/mod/glossary/tests/behat/prevent_duplicate_entries.feature +++ b/mod/glossary/tests/behat/prevent_duplicate_entries.feature @@ -1,7 +1,7 @@ @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 + As a teacher I need to avoid having duplicate concept definitions @javascript diff --git a/mod/glossary/tests/behat/print_friendly_version.feature b/mod/glossary/tests/behat/print_friendly_version.feature index 9703a577947..58c724ff642 100644 --- a/mod/glossary/tests/behat/print_friendly_version.feature +++ b/mod/glossary/tests/behat/print_friendly_version.feature @@ -1,7 +1,7 @@ @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 + As a user I need to provide users a different view to print the glossary contents Background: diff --git a/mod/glossary/tests/behat/search_entries.feature b/mod/glossary/tests/behat/search_entries.feature index b0780392118..222692f30cb 100644 --- a/mod/glossary/tests/behat/search_entries.feature +++ b/mod/glossary/tests/behat/search_entries.feature @@ -1,7 +1,7 @@ @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 + As a user I need to search the entries list by keyword, alphabet, category, date and author Background: diff --git a/mod/lesson/tests/behat/date_availability.feature b/mod/lesson/tests/behat/date_availability.feature index 5f2357b039b..026661a92a2 100644 --- a/mod/lesson/tests/behat/date_availability.feature +++ b/mod/lesson/tests/behat/date_availability.feature @@ -1,7 +1,7 @@ @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 + As a teacher I need to set available from and deadline dates Background: diff --git a/mod/lesson/tests/behat/password_protection.feature b/mod/lesson/tests/behat/password_protection.feature index 64415448611..c4c077aba8f 100644 --- a/mod/lesson/tests/behat/password_protection.feature +++ b/mod/lesson/tests/behat/password_protection.feature @@ -1,7 +1,7 @@ @mod @mod_lesson Feature: A teacher can password protect a lesson In order to avoid undesired accesses to lesson activities - As a moodle teacher + As a teacher I need to set a password to access the lesson @javascript diff --git a/mod/lesson/tests/behat/time_limit.feature b/mod/lesson/tests/behat/time_limit.feature index 85ce925267b..97666e3f3a9 100644 --- a/mod/lesson/tests/behat/time_limit.feature +++ b/mod/lesson/tests/behat/time_limit.feature @@ -1,7 +1,7 @@ @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 + As a teacher I need to set a time limit @javascript diff --git a/mod/survey/tests/behat/survey_types.feature b/mod/survey/tests/behat/survey_types.feature index fefee34a529..6bf6afab373 100644 --- a/mod/survey/tests/behat/survey_types.feature +++ b/mod/survey/tests/behat/survey_types.feature @@ -1,7 +1,7 @@ @mod @mod_survey Feature: A teacher can set three types of survey activity In order to use verified survey instruments - As a moodle teacher + As a teacher I need to set survey activities and select which survey type suits my needs Scenario: Switching between the three survey types diff --git a/mod/wiki/tests/behat/page_history.feature b/mod/wiki/tests/behat/page_history.feature index 48ecf3e7ed5..7bb0426a6da 100644 --- a/mod/wiki/tests/behat/page_history.feature +++ b/mod/wiki/tests/behat/page_history.feature @@ -1,7 +1,7 @@ @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 + As a user I need to check the history of a wiki page @javascript diff --git a/mod/wiki/tests/behat/preview_page.feature b/mod/wiki/tests/behat/preview_page.feature index 770f7b194a5..524bf705401 100644 --- a/mod/wiki/tests/behat/preview_page.feature +++ b/mod/wiki/tests/behat/preview_page.feature @@ -1,5 +1,8 @@ @mod @mod_wiki Feature: Edited wiki pages may be previewed before saving + In order to avoid silly mistakes + As a user + I need to preview pages before saving changes Background: Given the following "users" exists: diff --git a/mod/wiki/tests/behat/wiki_formats.feature b/mod/wiki/tests/behat/wiki_formats.feature index 737379af4b2..5d95aabcc34 100644 --- a/mod/wiki/tests/behat/wiki_formats.feature +++ b/mod/wiki/tests/behat/wiki_formats.feature @@ -1,7 +1,7 @@ @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 + As a user I need to choose which wiki format do I want to use Background: diff --git a/repository/recent/tests/behat/add_recent.feature b/repository/recent/tests/behat/add_recent.feature index 0f71e445f52..25048265b5d 100644 --- a/repository/recent/tests/behat/add_recent.feature +++ b/repository/recent/tests/behat/add_recent.feature @@ -1,7 +1,7 @@ @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 + As a user I need to use again the files I've just used @javascript diff --git a/repository/tests/behat/cancel_add_file.feature b/repository/tests/behat/cancel_add_file.feature index a4f91552552..0ff6a442e6b 100644 --- a/repository/tests/behat/cancel_add_file.feature +++ b/repository/tests/behat/cancel_add_file.feature @@ -1,7 +1,7 @@ @core @core_filepicker @_only_local Feature: A selected file can be cancelled In order to refine the file manager contents - As a moodle user + As a user I need to cancel a selected file @javascript diff --git a/repository/tests/behat/create_folders.feature b/repository/tests/behat/create_folders.feature index d7522a837ee..7492dad227f 100644 --- a/repository/tests/behat/create_folders.feature +++ b/repository/tests/behat/create_folders.feature @@ -1,7 +1,7 @@ @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 + As a user I need to create folders and subfolders in a file area @javascript diff --git a/repository/tests/behat/delete_files.feature b/repository/tests/behat/delete_files.feature index 99b86a07d0f..a983abe3df7 100644 --- a/repository/tests/behat/delete_files.feature +++ b/repository/tests/behat/delete_files.feature @@ -1,7 +1,7 @@ @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 + As a user I need to delete files from file areas @javascript diff --git a/repository/tests/behat/zip_and_unzip.feature b/repository/tests/behat/zip_and_unzip.feature index 20a4339e5f5..230fb2b3a28 100644 --- a/repository/tests/behat/zip_and_unzip.feature +++ b/repository/tests/behat/zip_and_unzip.feature @@ -1,7 +1,7 @@ @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 + As a user I need to zip and unzip folders and files @javascript diff --git a/repository/upload/tests/behat/upload_file.feature b/repository/upload/tests/behat/upload_file.feature index 65d4a307888..1e028f7e2a3 100644 --- a/repository/upload/tests/behat/upload_file.feature +++ b/repository/upload/tests/behat/upload_file.feature @@ -1,7 +1,7 @@ @repository @repository_upload @_only_local Feature: Upload files In order to add contents - As a moodle user + As a user I need to upload files @javascript