MDL-80221 lang: Use fixed strings in the tests, too
This commit is contained in:
@@ -29,7 +29,7 @@ Feature: Users can request and approve courses
|
||||
| Course short name | Mynewcourse |
|
||||
| Supporting information | pretty please |
|
||||
And I press "Request a course"
|
||||
And I should see "Your course request has been saved successfully."
|
||||
And I should see "Course request submitted."
|
||||
And I press "Continue"
|
||||
And I am on course index
|
||||
And I should not see "My new course"
|
||||
|
||||
@@ -800,7 +800,7 @@ class self_test extends \advanced_testcase {
|
||||
] + (array) $instance, [], $instance, $context);
|
||||
|
||||
$this->assertArrayHasKey('password', $errors);
|
||||
$this->assertEquals('Enrolment key matches an existing group enrolment key', $errors['password']);
|
||||
$this->assertEquals('This enrolment key is already used as a group enrolment key.', $errors['password']);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -137,10 +137,10 @@ Feature: View the grading status of an assignment
|
||||
| Online text | I'm the student's second submission |
|
||||
And I press "Save changes"
|
||||
And I log out
|
||||
# Teacher marks the submission again after noticing the 'Graded - follow-up submission received'.
|
||||
# Teacher marks the submission again after noticing the 'Graded - resubmitted'.
|
||||
And I am on the "Test assignment name" "assign activity" page logged in as teacher1
|
||||
And I follow "View all submissions"
|
||||
And I should see "Graded - follow-up submission received" in the "Student 1" "table_row"
|
||||
And I should see "Graded - resubmitted" in the "Student 1" "table_row"
|
||||
And I wait "10" seconds
|
||||
And I click on "Grade" "link" in the "Student 1" "table_row"
|
||||
And I should see "1 of 1"
|
||||
|
||||
@@ -29,4 +29,4 @@ Feature: Welcome message
|
||||
And I log out
|
||||
And I should see "You are not logged in" in the "page-footer" "region"
|
||||
And I log in as "admin"
|
||||
Then I should see "Welcome back, Admin!" in the "page-header" "region"
|
||||
Then I should see "Hi, Admin!" in the "page-header" "region"
|
||||
|
||||
Reference in New Issue
Block a user