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
|
@ -32,7 +32,6 @@ Feature: edit_availability
|
|||
Given the following config values are set as admin:
|
||||
| enableavailability | 0 |
|
||||
When I log in as "teacher1"
|
||||
And I am on site homepage
|
||||
And I am on course page "Course 1"
|
||||
And I turn editing mode on
|
||||
And I add a "Page" to section "1"
|
||||
|
@ -45,7 +44,6 @@ Feature: edit_availability
|
|||
And the following config values are set as admin:
|
||||
| enableavailability | 1 |
|
||||
|
||||
And I am on site homepage
|
||||
And I am on course page "Course 1"
|
||||
And I add a "Page" to section "1"
|
||||
Then "Restrict access" "fieldset" should exist
|
||||
|
@ -149,7 +147,6 @@ Feature: edit_availability
|
|||
Scenario: Edit availability using settings in section form
|
||||
# Set up.
|
||||
Given I log in as "teacher1"
|
||||
And I am on site homepage
|
||||
And I am on course page "Course 1"
|
||||
And I turn editing mode on
|
||||
|
||||
|
@ -171,7 +168,6 @@ Feature: edit_availability
|
|||
Given the following config values are set as admin:
|
||||
| enableavailability | 0 |
|
||||
And I log in as "admin"
|
||||
And I am on site homepage
|
||||
And I am on course page "Course 1"
|
||||
And I turn editing mode on
|
||||
And I add a "Forum" to section "1"
|
||||
|
@ -185,7 +181,6 @@ Feature: edit_availability
|
|||
| name | course | idnumber |
|
||||
| GX1 | C1 | GXI1 |
|
||||
And I log in as "admin"
|
||||
And I am on site homepage
|
||||
And I am on course page "Course 1"
|
||||
And I turn editing mode on
|
||||
And I add a "Forum" to section "1"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue