Skip to content
This repository has been archived by the owner on Apr 8, 2022. It is now read-only.

Commit

Permalink
MDL-41940 files Additional behat cleanup
Browse files Browse the repository at this point in the history
Fixing components and Given/When/Then styling.
  • Loading branch information
ericmerrill committed Oct 10, 2013
1 parent ff715cc commit 53d7926
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions files/tests/behat/course_files.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@files @files_course @_only_local
@core @core_files @_only_local
Feature: Course files
In order to add legacy files
As a user
Expand All @@ -13,13 +13,13 @@ Feature: Course files
And I set the following administration settings values:
| Legacy course files in new courses | 1 |
| Allow adding to legacy course files | 1 |
And I follow "Home"
When I follow "Home"
And I follow "Course 1"
Then I should see "Legacy course files"
And I follow "Legacy course files"
And I press "Edit legacy course files"
Then I should see "Add..."
Then I should see "Create folder"
And I should see "Add..."
And I should see "Create folder"

##Commented out pending MDL-42013 visibility checking.
# @javascript
Expand All @@ -31,10 +31,10 @@ Feature: Course files
# And I set the following administration settings values:
# | Legacy course files in new courses | 1 |
# | Allow adding to legacy course files | 0 |
# And I follow "Home"
# When I follow "Home"
# And I follow "Course 1"
# Then I should see "Legacy course files"
# And I follow "Legacy course files"
# And I press "Edit legacy course files"
# Then I should not see "Add..."
# Then I should not see "Create folder"
# And I should not see "Add..."
# And I should not see "Create folder"

0 comments on commit 53d7926

Please sign in to comment.