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
|
@ -17,8 +17,7 @@ Feature: Teacher can specify different display options for the resource
|
|||
| teacher1 | C1 | editingteacher |
|
||||
| student1 | C1 | student |
|
||||
And I log in as "teacher1"
|
||||
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
|
||||
|
||||
@javascript
|
||||
Scenario: Specifying no additional display options for a file resource
|
||||
|
@ -31,7 +30,7 @@ Feature: Teacher can specify different display options for the resource
|
|||
And I upload "mod/resource/tests/fixtures/samplefile.txt" file to "Select files" filemanager
|
||||
And I press "Save and display"
|
||||
Then ".resourcedetails" "css_element" should not exist
|
||||
And I am on course page "Course 1"
|
||||
And I am on "Course 1" course homepage
|
||||
And ".activity.resource .resourcelinkdetails" "css_element" should not exist
|
||||
And I log out
|
||||
|
||||
|
@ -49,7 +48,7 @@ Feature: Teacher can specify different display options for the resource
|
|||
Then I <seesize> see "6 bytes" in the ".resourcedetails" "css_element"
|
||||
And I <seetype> see "Text file" in the ".resourcedetails" "css_element"
|
||||
And I <seedate> see "Uploaded" in the ".resourcedetails" "css_element"
|
||||
And I am on course page "Course 1"
|
||||
And I am on "Course 1" course homepage
|
||||
And I <seesize> see "6 bytes" in the ".activity.resource .resourcelinkdetails" "css_element"
|
||||
And I <seetype> see "Text file" in the ".activity.resource .resourcelinkdetails" "css_element"
|
||||
And I <seedate> see "Uploaded" in the ".activity.resource .resourcelinkdetails" "css_element"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue