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:
Simey Lameze 2017-03-15 15:13:09 +08:00 committed by Damyon Wiese
parent 3353cfd8c1
commit fdeeaff954
458 changed files with 1697 additions and 2148 deletions

View file

@ -17,8 +17,7 @@ Feature: Forum discussions can be split
| teacher1 | C1 | editingteacher |
| student1 | C1 | student |
And I log in as "teacher1"
And I follow "Science 101"
And I turn editing mode on
And I am on "Science 101" course homepage with editing mode on
And I add a "Forum" to section "1" and I fill the form with:
| Forum name | Study discussions |
| Forum type | Standard forum for general use |
@ -28,14 +27,14 @@ Feature: Forum discussions can be split
| Message | Lets discuss our learning about Photosynethis this week in this thread. |
And I log out
And I log in as "student1"
And I follow "Science 101"
And I am on "Science 101" course homepage
And I reply "Photosynethis discussion" post from "Study discussions" forum with:
| Message | Can anyone tell me which number is the mass number in the periodic table? |
And I log out
Scenario: Split a forum discussion
Given I log in as "teacher1"
And I follow "Science 101"
And I am on "Science 101" course homepage
And I follow "Study discussions"
And I follow "Photosynethis discussion"
When I follow "Split"