mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +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
|
@ -34,7 +34,7 @@ Feature: Enrolments are synchronised with meta courses
|
|||
And I am on course index
|
||||
|
||||
Scenario: Add meta enrolment instance without groups
|
||||
When I am on course page "Course 3"
|
||||
When I am on "Course 3" course homepage
|
||||
And I add "Course meta link" enrolment method with:
|
||||
| Link course | C1C1 |
|
||||
And I navigate to "Enrolled users" node in "Course administration > Users"
|
||||
|
@ -43,11 +43,11 @@ Feature: Enrolments are synchronised with meta courses
|
|||
And I should not see "Groupcourse" in the "table.userenrolment" "css_element"
|
||||
|
||||
Scenario: Add meta enrolment instance with groups
|
||||
When I am on course page "Course 3"
|
||||
When I am on "Course 3" course homepage
|
||||
And I add "Course meta link" enrolment method with:
|
||||
| Link course | C1C1 |
|
||||
| Add to group | Groupcourse 1 |
|
||||
And I am on course page "Course 3"
|
||||
And I am on "Course 3" course homepage
|
||||
And I add "Course meta link" enrolment method with:
|
||||
| Link course | C2C2 |
|
||||
| Add to group | Groupcourse 2 |
|
||||
|
@ -62,7 +62,7 @@ Feature: Enrolments are synchronised with meta courses
|
|||
And I should not see "Groupcourse 2" in the "Student 4" "table_row"
|
||||
|
||||
Scenario: Add meta enrolment instance with auto-created groups
|
||||
When I am on course page "Course 3"
|
||||
When I am on "Course 3" course homepage
|
||||
And I add "Course meta link" enrolment method with:
|
||||
| Link course | C1C1 |
|
||||
| Add to group | Create new group |
|
||||
|
@ -75,11 +75,11 @@ Feature: Enrolments are synchronised with meta courses
|
|||
And the "Groups" select box should contain "Course 1 course (4)"
|
||||
|
||||
Scenario: Backup and restore of meta enrolment instance
|
||||
When I am on course page "Course 3"
|
||||
When I am on "Course 3" course homepage
|
||||
And I add "Course meta link" enrolment method with:
|
||||
| Link course | C1C1 |
|
||||
| Add to group | Groupcourse 1 |
|
||||
And I am on course page "Course 3"
|
||||
And I am on "Course 3" course homepage
|
||||
And I add "Course meta link" enrolment method with:
|
||||
| Link course | C2C2 |
|
||||
When I backup "Course 3" course using this options:
|
||||
|
@ -94,7 +94,7 @@ Feature: Enrolments are synchronised with meta courses
|
|||
And I press "Perform restore"
|
||||
And I trigger cron
|
||||
And I am on course index
|
||||
And I am on course page "Course 4"
|
||||
And I follow "Course 4"
|
||||
And I navigate to "Enrolment methods" node in "Course administration > Users"
|
||||
Then I should see "Course meta link (Course 1)"
|
||||
And I should see "Course meta link (Course 2)"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue