mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 01:16:44 +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
|
@ -22,7 +22,7 @@ Feature: Chat calendar entries
|
|||
| activity | name | intro | course | idnumber | schedule |
|
||||
| chat | Test chat name | Test chat description | C1 | chat1 | 0 |
|
||||
And I log in as "teacher1"
|
||||
And I am on course page "Course 1"
|
||||
And I am on "Course 1" course homepage
|
||||
When I navigate to "Calendar" node in "Site pages"
|
||||
Then I should not see "Test chat name"
|
||||
|
||||
|
@ -31,6 +31,6 @@ Feature: Chat calendar entries
|
|||
| activity | name | intro | course | idnumber | schedule |
|
||||
| chat | Test chat name | Test chat description | C1 | chat1 | 1 |
|
||||
And I log in as "teacher1"
|
||||
And I am on course page "Course 1"
|
||||
And I am on "Course 1" course homepage
|
||||
When I navigate to "Calendar" node in "Site pages"
|
||||
Then I should see "Test chat name"
|
||||
|
|
|
@ -22,8 +22,7 @@ Feature: Chat reset
|
|||
|
||||
Scenario: Use course reset to update chat start date
|
||||
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 navigate to "Edit settings" node in "Course administration"
|
||||
And I set the following fields to these values:
|
||||
| startdate[day] | 1 |
|
||||
|
@ -48,7 +47,7 @@ Feature: Chat reset
|
|||
And I press "Reset course"
|
||||
And I should see "Date changed" in the "Chats" "table_row"
|
||||
And I press "Continue"
|
||||
Then I am on course page "Course 1"
|
||||
Then I am on "Course 1" course homepage
|
||||
And I follow "Test chat name"
|
||||
And I navigate to "Edit settings" in current page administration
|
||||
And I expand all fieldsets
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue