MDL-87251 tool_uploadcourse: update scenarios for self-enrol title.
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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 ""
|
||||
|
||||
Reference in New Issue
Block a user