diff --git a/public/admin/tool/uploadcourse/tests/behat/enrolments.feature b/public/admin/tool/uploadcourse/tests/behat/enrolments.feature index 0ff68cc5a6f..1e5ca9d7c1f 100644 --- a/public/admin/tool/uploadcourse/tests/behat/enrolments.feature +++ b/public/admin/tool/uploadcourse/tests/behat/enrolments.feature @@ -119,7 +119,7 @@ Feature: An admin can update courses enrolments using a CSV file And I click on "Preview" "button" And I click on "Upload courses" "button" And I am on the "Course 2" "enrolment methods" page - And I should see "Self enrolment (Student)" in the "generaltable" "table" + And I should see "Self enrolment as 'Student'" in the "generaltable" "table" And I should see "Cohort sync (Cohort1 - Student)" in the "generaltable" "table" And I should see "Guest access" in the "generaltable" "table" And I should see "Manual enrolments" in the "generaltable" "table" @@ -134,7 +134,7 @@ Feature: An admin can update courses enrolments using a CSV file And I click on "Upload courses" "button" And I should see "Course updated" And I am on the "Course 2" "enrolment methods" page - And I should not see "Self enrolment (Student)" in the "generaltable" "table" + And I should not see "Self enrolment as 'Student'" in the "generaltable" "table" And I should not see "Cohort sync (Cohort1 - Student)" in the "generaltable" "table" And I should not see "Guest access" in the "generaltable" "table" And I should not see "Manual enrolments" in the "generaltable" "table" @@ -148,7 +148,7 @@ Feature: An admin can update courses enrolments using a CSV file And I click on "Preview" "button" And I click on "Upload courses" "button" And I am on the "Course 2" "enrolment methods" page - Then I should see "Self enrolment (Student)" in the "generaltable" "table" + Then I should see "Self enrolment as 'Student'" in the "generaltable" "table" And I should see "Cohort sync (Cohort1 - Student)" in the "generaltable" "table" And I should see "Guest access" in the "generaltable" "table" And I should see "Manual enrolments" in the "generaltable" "table" diff --git a/public/admin/tool/uploadcourse/tests/behat/self.feature b/public/admin/tool/uploadcourse/tests/behat/self.feature index 8817bb6a02c..a61e9b77fbe 100644 --- a/public/admin/tool/uploadcourse/tests/behat/self.feature +++ b/public/admin/tool/uploadcourse/tests/behat/self.feature @@ -66,7 +66,7 @@ Feature: An admin can create courses with self enrolments using a CSV file And I should see "Courses updated: 2" And I should see "Courses errors: 1" And I am on the "Course 1" "enrolment methods" page - And "Self enrolment (Student)" "table_row" should not exist + And "Self enrolment as 'Student'" "table_row" should not exist And I am on the "Course 2" "enrolment methods" page And I click on "Edit" "link" in the "Self enrolment" "table_row" And the field "Enrolment key" matches value "" @@ -98,7 +98,7 @@ Feature: An admin can create courses with self enrolments using a CSV file And I should see "Courses updated: 2" And I should see "Courses errors: 1" And I am on the "Course 1" "enrolment methods" page - And "Self enrolment (Student)" "table_row" should not exist + And "Self enrolment as 'Student'" "table_row" should not exist And I am on the "Course 2" "enrolment methods" page And I click on "Edit" "link" in the "Self enrolment" "table_row" And the field "Enrolment key" does not match value ""