mirror of
https://github.com/moodle/moodle.git
synced 2025-08-07 18:06:51 +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
|
@ -31,7 +31,7 @@ Feature: We can bulk insert grades for students in a course
|
|||
|
||||
Scenario: I can bulk insert grades and check their override flags for grade view.
|
||||
Given I log in as "teacher1"
|
||||
And I am on course page "Course 1"
|
||||
And I am on "Course 1" course homepage
|
||||
And I follow "Test assignment one"
|
||||
And I navigate to "View all submissions" in current page administration
|
||||
And I click on "Grade" "link" in the "Student 1" "table_row"
|
||||
|
@ -39,7 +39,7 @@ Feature: We can bulk insert grades for students in a course
|
|||
| Grade out of 100 | 50 |
|
||||
And I press "Save changes"
|
||||
And I press "Ok"
|
||||
And I am on course page "Course 1"
|
||||
And I am on "Course 1" course homepage
|
||||
And I navigate to "View > Grader report" in the course gradebook
|
||||
And I follow "Single view for Test assignment one"
|
||||
Then the field "Grade for james (Student) 1" matches value "50.00"
|
||||
|
@ -72,7 +72,7 @@ Feature: We can bulk insert grades for students in a course
|
|||
|
||||
Scenario: I can bulk insert grades and check their override flags for user view.
|
||||
Given I log in as "teacher1"
|
||||
And I am on course page "Course 1"
|
||||
And I am on "Course 1" course homepage
|
||||
And I follow "Test assignment two"
|
||||
And I navigate to "View all submissions" in current page administration
|
||||
And I click on "Grade" "link" in the "Student 1" "table_row"
|
||||
|
@ -80,7 +80,7 @@ Feature: We can bulk insert grades for students in a course
|
|||
| Grade out of 100 | 50 |
|
||||
And I press "Save changes"
|
||||
And I press "Ok"
|
||||
And I am on course page "Course 1"
|
||||
And I am on "Course 1" course homepage
|
||||
And I navigate to "View > Grader report" in the course gradebook
|
||||
# And I click on "input[title='Dock Navigation block']" "css_element"
|
||||
# And I click on "input[title='Dock Administration block']" "css_element"
|
||||
|
|
|
@ -51,7 +51,7 @@ Feature: We can use Single view
|
|||
| moodle/grade:edit | Allow | teacher | Course | C1 |
|
||||
| gradereport/singleview:view | Allow | teacher | Course | C1 |
|
||||
And I log in as "teacher1"
|
||||
And I am on course page "Course 1"
|
||||
And I am on "Course 1" course homepage
|
||||
Given I navigate to "View > Grader report" in the course gradebook
|
||||
|
||||
@javascript
|
||||
|
@ -96,7 +96,7 @@ Feature: We can use Single view
|
|||
| james (Student) 1 | Very good |
|
||||
And I log out
|
||||
And I log in as "teacher2"
|
||||
And I am on course page "Course 1"
|
||||
And I am on "Course 1" course homepage
|
||||
Given I navigate to "View > Single view" in the course gradebook
|
||||
And I click on "Student 4" "option"
|
||||
And the "Exclude for Test assignment one" "checkbox" should be disabled
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue