Skip to content

Commit

Permalink
MDL-43480 behat: Switching @_only_local and @_alerts to @_file_upload…
Browse files Browse the repository at this point in the history
… and @_alert
  • Loading branch information
David Monllao committed Jan 17, 2014
1 parent 81ad543 commit 561e9bb
Show file tree
Hide file tree
Showing 17 changed files with 22 additions and 16 deletions.
2 changes: 1 addition & 1 deletion admin/tests/behat/upload_users.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@core @core_admin @_only_local
@core @core_admin @_file_upload
Feature: Upload users
In order to add users to the system
As an admin
Expand Down
6 changes: 6 additions & 0 deletions admin/tool/behat/upgrade.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
This files describes API changes in the assign code.

=== 2.7 ===

* @_only_local tag used in .feature files replaced by @_file_upload tag
* @_alerts tag used in .feature files replaced by @_alert tag
2 changes: 1 addition & 1 deletion admin/tool/uploadcourse/tests/behat/create.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@tool @tool_uploadcourse @_only_local
@tool @tool_uploadcourse @_file_upload
Feature: An admin can create courses using a CSV file
In order to create courses using a CSV file
As an admin
Expand Down
2 changes: 1 addition & 1 deletion admin/tool/uploadcourse/tests/behat/update.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@tool @tool_uploadcourse @_only_local
@tool @tool_uploadcourse @_file_upload
Feature: An admin can update courses using a CSV file
In order to update courses using a CSV file
As an admin
Expand Down
2 changes: 1 addition & 1 deletion badges/tests/behat/add_badge.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@core @core_badges @_only_local
@core @core_badges @_file_upload
Feature: Add badges to the system
In order to give badges to users for their achievements
As an admin
Expand Down
2 changes: 1 addition & 1 deletion badges/tests/behat/award_badge.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@core @core_badges @_only_local
@core @core_badges @_file_upload
Feature: Award badges
In order to award badges to users for their achievements
As an admin
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,4 +1,4 @@
@core @core_cohort @_only_local
@core @core_cohort @_file_upload
Feature: Upload users to a cohort
In order to quickly fill site-wide groups with users
As an admin
Expand Down
2 changes: 1 addition & 1 deletion course/tests/behat/course_controls.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@core @core_course @_alerts
@core @core_course @_alert
Feature: Course activity controls works as expected
In order to manage my course's activities
As a teacher
Expand Down
2 changes: 1 addition & 1 deletion group/tests/behat/groups_import.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@core @core_group @_only_local
@core @core_group @_file_upload
Feature: Importing of groups and groupings
In order to import groups and grouping
As a teacher
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,4 +1,4 @@
@mod @mod_assign @_only_local
@mod @mod_assign @_file_upload
Feature: In an assignment, students can upload files for assessment
In order to complete my assignments providing files
As a student
Expand Down
2 changes: 1 addition & 1 deletion mod/scorm/tests/behat/add_scorm.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@mod @mod_scorm @_only_local @_switch_frame
@mod @mod_scorm @_file_upload @_switch_frame
Feature: Add scorm activity
In order to let students access a scorm package
As a teacher
Expand Down
2 changes: 1 addition & 1 deletion repository/recent/tests/behat/add_recent.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@repository @repository_recent @_only_local
@repository @repository_recent @_file_upload
Feature: Recent files repository lists the recently used files
In order to save time when selecting files
As a user
Expand Down
2 changes: 1 addition & 1 deletion repository/tests/behat/cancel_add_file.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@core @core_filepicker @_only_local
@core @core_filepicker @_file_upload
Feature: A selected file can be cancelled
In order to refine the file manager contents
As a user
Expand Down
2 changes: 1 addition & 1 deletion repository/tests/behat/create_shortcut.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@core @core_filepicker @repository @repository_user @_only_local
@core @core_filepicker @repository @repository_user @_file_upload
Feature: Create shortcuts
In order to automatically synchronize copies of the file with the source
As a teacher
Expand Down
2 changes: 1 addition & 1 deletion repository/tests/behat/delete_files.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@core @core_filepicker @_only_local
@core @core_filepicker @_file_upload
Feature: Delete files and folders from the file manager
In order to clean the file manager contents
As a user
Expand Down
2 changes: 1 addition & 1 deletion repository/tests/behat/overwrite_file.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@core @core_filepicker @_only_local
@core @core_filepicker @_file_upload
Feature: Overwrite file feature
In order to update an existing file
As a user
Expand Down
2 changes: 1 addition & 1 deletion repository/upload/tests/behat/upload_file.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@repository @repository_upload @_only_local
@repository @repository_upload @_file_upload
Feature: Upload files
In order to add contents
As a user
Expand Down

0 comments on commit 561e9bb

Please sign in to comment.