Skip to content

Commit

Permalink
MDL-39586 behat: Closed list of stackeholders
Browse files Browse the repository at this point in the history
  • Loading branch information
David Monllao committed May 9, 2013
1 parent 1fb9715 commit 5d7b630
Show file tree
Hide file tree
Showing 66 changed files with 68 additions and 65 deletions.
2 changes: 1 addition & 1 deletion admin/tests/behat/display_short_names.feature
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
2 changes: 1 addition & 1 deletion admin/tests/behat/filter_users.feature
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
2 changes: 1 addition & 1 deletion admin/tests/behat/upload_users.feature
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion admin/tool/behat/tests/behat/data_generators.feature
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion admin/tool/behat/tests/behat/edit_permissions.feature
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
2 changes: 1 addition & 1 deletion admin/tool/behat/tests/behat/test_environment.feature
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion auth/tests/behat/login.feature
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion backup/util/ui/tests/behat/backup_courses.feature
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
2 changes: 1 addition & 1 deletion backup/util/ui/tests/behat/duplicate_activities.feature
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion backup/util/ui/tests/behat/import_course.feature
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion backup/util/ui/tests/behat/restore_moodle2_courses.feature
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
2 changes: 1 addition & 1 deletion blocks/comments/tests/behat/add_comment.feature
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
2 changes: 1 addition & 1 deletion blocks/comments/tests/behat/delete_comment.feature
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion blocks/tests/behat/configure_block_throughout_site.feature
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion blog/tests/behat/comment.feature
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
2 changes: 1 addition & 1 deletion cohort/tests/behat/add_cohort.feature
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
2 changes: 1 addition & 1 deletion cohort/tests/behat/upload_cohort_users.feature
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion completion/tests/behat/enable_manual_complete_mark.feature
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion course/tests/behat/activities_group_icons.feature
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion course/tests/behat/activities_indentation.feature
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion course/tests/behat/activities_visibility_icons.feature
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion course/tests/behat/edit_settings.feature
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion course/tests/behat/force_group_mode.feature
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
2 changes: 1 addition & 1 deletion course/tests/behat/max_number_sections.feature
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
2 changes: 1 addition & 1 deletion course/tests/behat/paged_course_navigation.feature
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion course/tests/behat/rename_roles.feature
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion course/tests/behat/restrict_available_activities.feature
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
2 changes: 1 addition & 1 deletion course/tests/behat/section_visibility.feature
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion enrol/self/tests/behat/self_enrolment.feature
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
2 changes: 1 addition & 1 deletion group/tests/behat/create_groups.feature
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion group/tests/behat/id_uniqueness.feature
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
2 changes: 1 addition & 1 deletion message/tests/behat/block_users.feature
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion message/tests/behat/manage_contacts.feature
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
2 changes: 1 addition & 1 deletion message/tests/behat/search_history.feature
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
2 changes: 1 addition & 1 deletion mod/assign/tests/behat/file_submission.feature
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion mod/assign/tests/behat/group_submission.feature
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion mod/assign/tests/behat/prevent_submission_changes.feature
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion mod/choice/tests/behat/add_choice.feature
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion mod/choice/tests/behat/publish_results.feature
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
2 changes: 1 addition & 1 deletion mod/choice/tests/behat/publish_results_anonymously.feature
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
2 changes: 1 addition & 1 deletion mod/forum/tests/behat/add_forum.feature
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Loading

0 comments on commit 5d7b630

Please sign in to comment.