mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 08:26:37 +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
|
@ -16,8 +16,7 @@ Feature: Guest users can auto-enrol themself in courses where guest access is al
|
|||
| user | course | role |
|
||||
| teacher1 | C1 | editingteacher |
|
||||
And I log in as "teacher1"
|
||||
And I am on course page "Course 1"
|
||||
And I turn editing mode on
|
||||
And I am on "Course 1" course homepage with editing mode on
|
||||
And I add a "Forum" to section "1" and I fill the form with:
|
||||
| Forum name | Test forum name |
|
||||
| Description | Test forum description |
|
||||
|
@ -30,7 +29,7 @@ Feature: Guest users can auto-enrol themself in courses where guest access is al
|
|||
And I press "Save changes"
|
||||
And I log out
|
||||
And I log in as "student1"
|
||||
And I am on course page "Course 1"
|
||||
And I am on "Course 1" course homepage
|
||||
When I follow "Test forum name"
|
||||
Then I should not see "Subscribe to this forum"
|
||||
|
||||
|
@ -43,7 +42,7 @@ Feature: Guest users can auto-enrol themself in courses where guest access is al
|
|||
And I press "Save changes"
|
||||
And I log out
|
||||
And I log in as "student1"
|
||||
When I am on course page "Course 1"
|
||||
When I am on "Course 1" course homepage
|
||||
Then I should see "Guest access"
|
||||
And I set the following fields to these values:
|
||||
| Password | moodle_rules |
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue