mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
MDL-41940 files Additional behat cleanup
Fixing components and Given/When/Then styling.
This commit is contained in:
parent
ff715cc936
commit
53d79266b9
1 changed files with 7 additions and 7 deletions
|
@ -1,4 +1,4 @@
|
||||||
@files @files_course @_only_local
|
@core @core_files @_only_local
|
||||||
Feature: Course files
|
Feature: Course files
|
||||||
In order to add legacy files
|
In order to add legacy files
|
||||||
As a user
|
As a user
|
||||||
|
@ -13,13 +13,13 @@ Feature: Course files
|
||||||
And I set the following administration settings values:
|
And I set the following administration settings values:
|
||||||
| Legacy course files in new courses | 1 |
|
| Legacy course files in new courses | 1 |
|
||||||
| Allow adding to legacy course files | 1 |
|
| Allow adding to legacy course files | 1 |
|
||||||
And I follow "Home"
|
When I follow "Home"
|
||||||
And I follow "Course 1"
|
And I follow "Course 1"
|
||||||
Then I should see "Legacy course files"
|
Then I should see "Legacy course files"
|
||||||
And I follow "Legacy course files"
|
And I follow "Legacy course files"
|
||||||
And I press "Edit legacy course files"
|
And I press "Edit legacy course files"
|
||||||
Then I should see "Add..."
|
And I should see "Add..."
|
||||||
Then I should see "Create folder"
|
And I should see "Create folder"
|
||||||
|
|
||||||
##Commented out pending MDL-42013 visibility checking.
|
##Commented out pending MDL-42013 visibility checking.
|
||||||
# @javascript
|
# @javascript
|
||||||
|
@ -31,10 +31,10 @@ Feature: Course files
|
||||||
# And I set the following administration settings values:
|
# And I set the following administration settings values:
|
||||||
# | Legacy course files in new courses | 1 |
|
# | Legacy course files in new courses | 1 |
|
||||||
# | Allow adding to legacy course files | 0 |
|
# | Allow adding to legacy course files | 0 |
|
||||||
# And I follow "Home"
|
# When I follow "Home"
|
||||||
# And I follow "Course 1"
|
# And I follow "Course 1"
|
||||||
# Then I should see "Legacy course files"
|
# Then I should see "Legacy course files"
|
||||||
# And I follow "Legacy course files"
|
# And I follow "Legacy course files"
|
||||||
# And I press "Edit legacy course files"
|
# And I press "Edit legacy course files"
|
||||||
# Then I should not see "Add..."
|
# And I should not see "Add..."
|
||||||
# Then I should not see "Create folder"
|
# And I should not see "Create folder"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue