mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 01:16:44 +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
|
@ -9,7 +9,6 @@ Feature: In a report, admin can filter log data by action
|
|||
| fullname | shortname | category | groupmode |
|
||||
| Course 1 | C1 | 0 | 1 |
|
||||
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
|
||||
# Create Action.
|
||||
|
|
|
@ -13,7 +13,6 @@ Feature: In a report, admin can see loglive data
|
|||
And I click on "Enable" "link" in the "Legacy log" "table_row"
|
||||
And the following config values are set as admin:
|
||||
| loglegacy | 1 | logstore_legacy |
|
||||
And I am on site homepage
|
||||
And I am on course page "Course 1"
|
||||
And I turn editing mode on
|
||||
And I add a "Database" to section "3" and I fill the form with:
|
||||
|
@ -41,7 +40,6 @@ Feature: In a report, admin can see loglive data
|
|||
And I press "Pause live updates"
|
||||
And I am on course page "Course module created"
|
||||
And I switch to "action" window
|
||||
And I am on site homepage
|
||||
And I am on course page "Course 1"
|
||||
And I add a "Database" to section "3" and I fill the form with:
|
||||
| Name | Test name2 |
|
||||
|
@ -64,7 +62,6 @@ Feature: In a report, admin can see loglive data
|
|||
And I press "Pause live updates"
|
||||
And I am on course page "Course_add mod"
|
||||
And I switch to "action" window
|
||||
And I am on site homepage
|
||||
And I am on course page "Course 1"
|
||||
And I add a "Database" to section "3" and I fill the form with:
|
||||
| Name | Test name2 |
|
||||
|
|
|
@ -19,7 +19,6 @@ Feature: View an outline report
|
|||
| student1 | C1 | student |
|
||||
| student2 | C1 | student |
|
||||
When 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" and I fill the form with:
|
||||
|
@ -68,7 +67,6 @@ Feature: View an outline report
|
|||
And I follow "Book name"
|
||||
And I log out
|
||||
And I log in as "admin"
|
||||
And I am on site homepage
|
||||
And I am on course page "Course 1"
|
||||
When I navigate to "Activity report" node in "Course administration > Reports"
|
||||
Then I should see "2 by 2 users" in the "Book name" "table_row"
|
||||
|
@ -101,7 +99,6 @@ Feature: View an outline report
|
|||
Given I navigate to "Manage log stores" node in "Site administration > Plugins > Logging"
|
||||
And "Enable" "link" should exist in the "Legacy log" "table_row"
|
||||
And I click on "Disable" "link" in the "Standard log" "table_row"
|
||||
And I am on site homepage
|
||||
And I am on course page "Course 1"
|
||||
When I navigate to "Activity report" node in "Course administration > Reports"
|
||||
Then I should see "No log reader enabled"
|
||||
|
|
|
@ -17,7 +17,6 @@ Feature: View the user page for the outline report
|
|||
| teacher1 | C1 | editingteacher |
|
||||
| student1 | C1 | student |
|
||||
When 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 "Folder" to section "1" and I fill the form with:
|
||||
|
|
|
@ -42,7 +42,6 @@ Feature: In a participation report, admin can filter student actions
|
|||
And I follow "Test book name"
|
||||
And I log out
|
||||
When I log in as "admin"
|
||||
And I am on site homepage
|
||||
And I am on course page "Course 1"
|
||||
When I navigate to "Course participation" node in "Course administration > Reports"
|
||||
And I set the field "instanceid" to "Test book name"
|
||||
|
@ -72,7 +71,6 @@ Feature: In a participation report, admin can filter student actions
|
|||
And I follow "Test book name"
|
||||
And I log out
|
||||
And I log in as "admin"
|
||||
And I am on site homepage
|
||||
And I am on course page "Course 1"
|
||||
When I navigate to "Course participation" node in "Course administration > Reports"
|
||||
And I set the field "instanceid" to "Test book name"
|
||||
|
@ -87,7 +85,6 @@ Feature: In a participation report, admin can filter student actions
|
|||
And I follow "Test book name"
|
||||
And I log out
|
||||
And I log in as "admin"
|
||||
And I am on site homepage
|
||||
And I am on course page "Course 1"
|
||||
When I navigate to "Course participation" node in "Course administration > Reports"
|
||||
And I set the field "instanceid" to "Test book name"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue