mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MDL-58265 core_test: replace I turn editing on steps
Also remove few more unnecessary steps that redirects behat to site home page to actually get to the course. Part of MDL-55611 epic.
This commit is contained in:
parent
3353cfd8c1
commit
fdeeaff954
458 changed files with 1697 additions and 2148 deletions
|
@ -14,9 +14,7 @@ Feature: Recent files repository lists the recently used files
|
|||
And I upload "lib/tests/fixtures/empty.txt" file to "Files" filemanager
|
||||
And I upload "lib/tests/fixtures/upload_users.csv" file to "Files" filemanager
|
||||
And I press "Save changes"
|
||||
And I am on site homepage
|
||||
And I am on course page "Course 1"
|
||||
And I turn editing mode on
|
||||
And I am on "Course 1" course homepage with editing mode on
|
||||
When I add a "Folder" to section "1"
|
||||
And I set the following fields to these values:
|
||||
| Name | Folder name |
|
||||
|
|
|
@ -13,9 +13,7 @@ Feature: A selected file can be cancelled
|
|||
And I follow "Manage private files"
|
||||
And I upload "lib/tests/fixtures/empty.txt" file to "Files" filemanager
|
||||
And I press "Save changes"
|
||||
And I am on site homepage
|
||||
And I am on course page "Course 1"
|
||||
And I turn editing mode on
|
||||
And I am on "Course 1" course homepage with editing mode on
|
||||
When I add a "Folder" to section "1"
|
||||
And I set the following fields to these values:
|
||||
| Name | Folder name |
|
||||
|
|
|
@ -10,8 +10,7 @@ Feature: Create folders in the file manager
|
|||
| fullname | shortname | category |
|
||||
| Course 1 | C1 | 0 |
|
||||
And I log in as "admin"
|
||||
And I am on course page "Course 1"
|
||||
And I turn editing mode on
|
||||
And I am on "Course 1" course homepage with editing mode on
|
||||
And I add a "Folder" to section "0"
|
||||
And I set the following fields to these values:
|
||||
| Name | Folder resource |
|
||||
|
|
|
@ -20,8 +20,7 @@ Feature: Create shortcuts
|
|||
And I upload "lib/tests/fixtures/empty.txt" file to "Files" filemanager
|
||||
Then I should see "empty.txt" in the "div.fp-content" "css_element"
|
||||
And I press "Save changes"
|
||||
And I am on course page "Course 1"
|
||||
And I turn editing mode on
|
||||
And I am on "Course 1" course homepage with editing mode on
|
||||
And I add a "Folder" to section "1"
|
||||
And I set the following fields to these values:
|
||||
| Name | Test folder |
|
||||
|
|
|
@ -28,9 +28,7 @@ Feature: Overwrite file feature
|
|||
| Save as | empty_copy.txt |
|
||||
And I should see "2" elements in "Files" filemanager
|
||||
And I press "Save changes"
|
||||
And I am on site homepage
|
||||
And I am on course page "Course 1"
|
||||
And I turn editing mode on
|
||||
And I am on "Course 1" course homepage with editing mode on
|
||||
And I add a "Folder" to section "1"
|
||||
And I set the following fields to these values:
|
||||
| Name | Test folder |
|
||||
|
|
|
@ -10,9 +10,7 @@ Feature: Zip folders and unzip compressed files
|
|||
| fullname | shortname | category |
|
||||
| Course 1 | C1 | 0 |
|
||||
And I log in as "admin"
|
||||
And I am on site homepage
|
||||
And I am on course page "Course 1"
|
||||
And I turn editing mode on
|
||||
And I am on "Course 1" course homepage with editing mode on
|
||||
And I add a "Folder" to section "0"
|
||||
And I set the following fields to these values:
|
||||
| Name | Folder resource |
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue