MDL-70550 lang: Use the fixed strings in Behat tests, too
This commit is contained in:
@@ -209,7 +209,7 @@ Feature: We can set the grade to pass value
|
||||
| Ratings > Grade to pass | 90 |
|
||||
And I navigate to "View > Grader report" in the course gradebook
|
||||
And I turn editing mode on
|
||||
And I click on "Edit forum Rating grade for Test Forum 1" "link"
|
||||
And I click on "Edit forum Test Forum 1 rating" "link"
|
||||
And I expand all fieldsets
|
||||
Then the field "Grade to pass" matches value "90"
|
||||
And I set the field "Grade to pass" to "80"
|
||||
|
||||
@@ -26,7 +26,7 @@ Feature: Assignments correctly add feedback to the grade report when workflow an
|
||||
| Online text | 1 |
|
||||
| File submissions | 0 |
|
||||
| Use marking workflow | Yes |
|
||||
| Blind marking | Yes |
|
||||
| Anonymous submissions | Yes |
|
||||
And I log out
|
||||
# Add a submission.
|
||||
And I log in as "student1"
|
||||
|
||||
@@ -63,11 +63,11 @@ Feature: I can grade a students interaction across a forum
|
||||
And I turn editing mode on
|
||||
|
||||
# There shouldn't be any Ratings grade item.
|
||||
Then I should see "Whole forum grade"
|
||||
But I should not see "Rating grade"
|
||||
Then I should see "Test Forum 1 whole forum"
|
||||
But I should not see "Test Forum 1 rating"
|
||||
|
||||
# The values saved should be reflected here.
|
||||
Given I click on "Edit forum Whole forum grade for Test Forum 1" "link"
|
||||
Given I click on "Edit forum Test Forum 1 whole forum" "link"
|
||||
When I expand all fieldsets
|
||||
Then the field "Maximum grade" matches value "10"
|
||||
Then the field "Grade to pass" matches value "4"
|
||||
@@ -120,11 +120,11 @@ Feature: I can grade a students interaction across a forum
|
||||
And I turn editing mode on
|
||||
|
||||
# There shouldn't be any Whole forum grade gradeitem.
|
||||
Then I should see "Rating grade"
|
||||
But I should not see "Whole forum grade"
|
||||
Then I should see "Test Forum 1 rating"
|
||||
But I should not see "Test Forum 1 whole forum"
|
||||
|
||||
# The values saved should be reflected here.
|
||||
Given I click on "Edit forum Rating grade for Test Forum 1" "link"
|
||||
Given I click on "Edit forum Test Forum 1 rating" "link"
|
||||
When I expand all fieldsets
|
||||
Then the field "Maximum grade" matches value "10"
|
||||
Then the field "Grade to pass" matches value "4"
|
||||
@@ -151,18 +151,18 @@ Feature: I can grade a students interaction across a forum
|
||||
And I turn editing mode on
|
||||
|
||||
# There shouldn't be any Whole forum grade gradeitem.
|
||||
Then I should see "Rating grade"
|
||||
And I should see "Whole forum grade"
|
||||
Then I should see "Test Forum 1 rating"
|
||||
And I should see "Test Forum 1 whole forum"
|
||||
|
||||
# The values saved should be reflected here.
|
||||
Given I click on "Edit forum Rating grade for Test Forum 1" "link"
|
||||
Given I click on "Edit forum Test Forum 1 rating" "link"
|
||||
When I expand all fieldsets
|
||||
Then the field "Maximum grade" matches value "100"
|
||||
Then the field "Grade to pass" matches value "40"
|
||||
And I should see "Peers" in the "Parent category" "fieldset"
|
||||
And I press "cancel"
|
||||
|
||||
Given I click on "Edit forum Whole forum grade for Test Forum 1" "link"
|
||||
Given I click on "Edit forum Test Forum 1 whole forum" "link"
|
||||
When I expand all fieldsets
|
||||
Then the field "Maximum grade" matches value "10"
|
||||
Then the field "Grade to pass" matches value "4"
|
||||
|
||||
Reference in New Issue
Block a user