From 53d79266b9b2d28d113b580499bb379390dea2c4 Mon Sep 17 00:00:00 2001 From: Eric Merrill Date: Wed, 9 Oct 2013 22:56:29 -0400 Subject: [PATCH] MDL-41940 files Additional behat cleanup Fixing components and Given/When/Then styling. --- files/tests/behat/course_files.feature | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/files/tests/behat/course_files.feature b/files/tests/behat/course_files.feature index e4eb09ad81848..e954eb7a97770 100644 --- a/files/tests/behat/course_files.feature +++ b/files/tests/behat/course_files.feature @@ -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 @@ -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 @@ -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"