mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 00:16:46 +02:00
MDL-58265 core_test: remove unnecessary steps
This commmit removes steps that take behat to site home page to actually get to a course page. Part of MDL-55611 epic.
This commit is contained in:
parent
c987d1b2ef
commit
93be3f730c
60 changed files with 7 additions and 162 deletions
|
@ -40,7 +40,6 @@ Feature: Enable Block blog menu in an activity
|
|||
And I press "Save changes"
|
||||
Then I should see "S1 First Blog"
|
||||
And I should see "This is my awesome blog!"
|
||||
And I follow "Dashboard"
|
||||
And I am on course page "Course 1"
|
||||
And I follow "Test assignment 1"
|
||||
And I follow "Blog entries"
|
||||
|
@ -71,7 +70,6 @@ Feature: Enable Block blog menu in an activity
|
|||
And I should see "S2 Second Blog"
|
||||
And I should see "My unrelated blog!"
|
||||
And I should not see "Associated Assignment: Test assignment 1"
|
||||
And I follow "Dashboard"
|
||||
And I am on course page "Course 1"
|
||||
And I follow "Test assignment 1"
|
||||
And I follow "Add an entry about this Assignment"
|
||||
|
@ -82,7 +80,6 @@ Feature: Enable Block blog menu in an activity
|
|||
And I should see "S2 First Blog"
|
||||
And I should see "My course blog is better!"
|
||||
And I should see "Associated Assignment: Test assignment 1"
|
||||
And I follow "Dashboard"
|
||||
And I am on course page "Course 1"
|
||||
And I follow "Test assignment 1"
|
||||
When I follow "View my entries about this Assignment"
|
||||
|
@ -114,7 +111,6 @@ Feature: Enable Block blog menu in an activity
|
|||
And I should see "S2 Second Blog"
|
||||
And I should see "My unrelated blog!"
|
||||
And I should not see "Associated Assignment: Test assignment 1"
|
||||
And I follow "Dashboard"
|
||||
And I am on course page "Course 1"
|
||||
And I follow "Test assignment 1"
|
||||
And I follow "Add an entry about this Assignment"
|
||||
|
@ -125,7 +121,6 @@ Feature: Enable Block blog menu in an activity
|
|||
And I should see "S2 First Blog"
|
||||
And I should see "My course blog is better!"
|
||||
And I should see "Associated Assignment: Test assignment 1"
|
||||
And I follow "Dashboard"
|
||||
And I am on course page "Course 1"
|
||||
And I follow "Test assignment 1"
|
||||
When I follow "View all entries about this Assignment"
|
||||
|
@ -157,7 +152,6 @@ Feature: Enable Block blog menu in an activity
|
|||
And I should see "S2 Second Blog"
|
||||
And I should see "My unrelated blog!"
|
||||
And I should not see "Associated Assignment: Test assignment 1"
|
||||
And I follow "Dashboard"
|
||||
And I am on course page "Course 1"
|
||||
And I follow "Test assignment 1"
|
||||
And I follow "Add an entry about this Assignment"
|
||||
|
@ -168,7 +162,6 @@ Feature: Enable Block blog menu in an activity
|
|||
And I should see "S2 First Blog"
|
||||
And I should see "My course blog is better!"
|
||||
And I should see "Associated Assignment: Test assignment 1"
|
||||
And I follow "Dashboard"
|
||||
And I am on course page "Course 1"
|
||||
And I follow "Test assignment 1"
|
||||
When I follow "Blog entries"
|
||||
|
@ -200,7 +193,6 @@ Feature: Enable Block blog menu in an activity
|
|||
And I should see "S2 Second Blog"
|
||||
And I should see "My unrelated blog!"
|
||||
And I should not see "Associated Assignment: Test assignment 1"
|
||||
And I follow "Dashboard"
|
||||
And I am on course page "Course 1"
|
||||
And I follow "Test assignment 1"
|
||||
And I follow "Add an entry about this Assignment"
|
||||
|
|
|
@ -34,7 +34,6 @@ Feature: Students can use block blog menu in a course
|
|||
And I press "Save changes"
|
||||
Then I should see "S1 First Blog"
|
||||
And I should see "This is my awesome blog!"
|
||||
And I follow "Dashboard"
|
||||
And I am on course page "Course 1"
|
||||
And I follow "Blog entries"
|
||||
And I should see "S1 First Blog"
|
||||
|
@ -62,7 +61,6 @@ Feature: Students can use block blog menu in a course
|
|||
And I should see "S2 Second Blog"
|
||||
And I should see "My unrelated blog!"
|
||||
And I should not see "Associated Course: C1"
|
||||
And I follow "Dashboard"
|
||||
And I am on course page "Course 1"
|
||||
And I follow "Add an entry about this course"
|
||||
And I set the following fields to these values:
|
||||
|
@ -72,7 +70,6 @@ Feature: Students can use block blog menu in a course
|
|||
And I should see "S2 First Blog"
|
||||
And I should see "My course blog is better!"
|
||||
And I should see "Associated Course: C1"
|
||||
And I follow "Dashboard"
|
||||
And I am on course page "Course 1"
|
||||
When I follow "View my entries about this course"
|
||||
Then I should see "S2 First Blog"
|
||||
|
@ -101,7 +98,6 @@ Feature: Students can use block blog menu in a course
|
|||
And I should see "S2 Second Blog"
|
||||
And I should see "My unrelated blog!"
|
||||
And I should not see "Associated Course: C1"
|
||||
And I follow "Dashboard"
|
||||
And I am on course page "Course 1"
|
||||
And I follow "Add an entry about this course"
|
||||
And I set the following fields to these values:
|
||||
|
@ -111,7 +107,6 @@ Feature: Students can use block blog menu in a course
|
|||
And I should see "S2 First Blog"
|
||||
And I should see "My course blog is better!"
|
||||
And I should see "Associated Course: C1"
|
||||
And I follow "Dashboard"
|
||||
And I am on course page "Course 1"
|
||||
When I follow "View all entries for this course"
|
||||
Then I should see "S1 First Blog"
|
||||
|
@ -140,7 +135,6 @@ Feature: Students can use block blog menu in a course
|
|||
And I should see "S2 Second Blog"
|
||||
And I should see "My unrelated blog!"
|
||||
And I should not see "Associated Course: C1"
|
||||
And I follow "Dashboard"
|
||||
And I am on course page "Course 1"
|
||||
And I follow "Add an entry about this course"
|
||||
And I set the following fields to these values:
|
||||
|
@ -150,7 +144,6 @@ Feature: Students can use block blog menu in a course
|
|||
And I should see "S2 First Blog"
|
||||
And I should see "My course blog is better!"
|
||||
And I should see "Associated Course: C1"
|
||||
And I follow "Dashboard"
|
||||
And I am on course page "Course 1"
|
||||
When I follow "Blog entries"
|
||||
Then I should see "S2 First Blog"
|
||||
|
@ -179,7 +172,6 @@ Feature: Students can use block blog menu in a course
|
|||
And I should see "S2 Second Blog"
|
||||
And I should see "My unrelated blog!"
|
||||
And I should not see "Associated Course: C1"
|
||||
And I follow "Dashboard"
|
||||
And I am on course page "Course 1"
|
||||
And I follow "Add an entry about this course"
|
||||
And I set the following fields to these values:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue