mirror of
https://github.com/moodle/moodle.git
synced 2025-04-20 07:56:06 +02:00
Merge branch 'wip-mdl-44910' of https://github.com/rajeshtaneja/moodle
This commit is contained in:
commit
12f8adbd25
@ -18,9 +18,11 @@ Feature: In a report, admin can filter log data
|
||||
And I log in as "admin"
|
||||
|
||||
@javascript
|
||||
Scenario: Filter log report for standard log reader
|
||||
Scenario: Filter log report for standard and legacy log reader
|
||||
Given I navigate to "Manage log stores" node in "Site administration > Plugins > Logging"
|
||||
And I click on "Enable" "link" in the "Standard log" "table_row"
|
||||
And I click on "Enable" "link" in the "Legacy log" "table_row"
|
||||
And I set the following administration settings values:
|
||||
| Log legacy data | 1 |
|
||||
And I follow "Home"
|
||||
And I follow "Course 1"
|
||||
And I navigate to "Participants" node in "Current course > C1"
|
||||
@ -41,9 +43,29 @@ Feature: In a report, admin can filter log data
|
||||
And I should not see "Nothing to display"
|
||||
|
||||
@javascript
|
||||
Scenario: Filter log report for legacy log reader.
|
||||
Given I set the following administration settings values:
|
||||
| Log legacy data | 0 |
|
||||
Scenario: Filter log report for standard log reader
|
||||
Given I follow "Course 1"
|
||||
And I navigate to "Participants" node in "Current course > C1"
|
||||
And I follow "Student 1"
|
||||
And I click on "Log in as" "link"
|
||||
And I press "Continue"
|
||||
And I log out
|
||||
And I log in as "admin"
|
||||
When I navigate to "Logs" node in "Site administration > Reports"
|
||||
And I set the field "id" to "Site logs"
|
||||
And I set the field "user" to "All participants"
|
||||
And I press "Get these logs"
|
||||
Then I should see "User logged in as another user"
|
||||
|
||||
@javascript
|
||||
Scenario: Filter log report for legacy log reader
|
||||
Given I navigate to "Manage log stores" node in "Site administration > Plugins > Logging"
|
||||
And I click on "Enable" "link" in the "Legacy log" "table_row"
|
||||
And I click on "Disable" "link" in the "Standard log" "table_row"
|
||||
And I set the following administration settings values:
|
||||
| Log legacy data | 1 |
|
||||
And I follow "Home"
|
||||
And I follow "Course 1"
|
||||
And I follow "Home"
|
||||
And I follow "Course 1"
|
||||
And I expand "Users" node
|
||||
|
@ -16,10 +16,6 @@ Feature: User can view activity log.
|
||||
| user | course | role |
|
||||
| teacher1 | C1 | editingteacher |
|
||||
| student1 | C1 | student |
|
||||
And I log in as "admin"
|
||||
And I set the following administration settings values:
|
||||
| Log legacy data | 1 |
|
||||
And I log out
|
||||
And I log in as "teacher1"
|
||||
And I follow "Course 1"
|
||||
And I turn editing mode on
|
||||
@ -47,4 +43,4 @@ Feature: User can view activity log.
|
||||
When I navigate to "Today's logs" node in "Profile settings for Student 1 > Activity reports"
|
||||
And I should see "Assignment: Test assignment name"
|
||||
And I navigate to "All logs" node in "Profile settings for Student 1 > Activity reports"
|
||||
And I should see "Assignment: Test assignment name"
|
||||
Then I should see "Assignment: Test assignment name"
|
||||
|
@ -9,10 +9,10 @@ Feature: In a report, admin can see loglive data
|
||||
| fullname | shortname | category | groupmode |
|
||||
| Course 1 | C1 | 0 | 1 |
|
||||
And I log in as "admin"
|
||||
And I navigate to "Manage log stores" node in "Site administration > Plugins > Logging"
|
||||
And I click on "Enable" "link" in the "Legacy log" "table_row"
|
||||
And I set the following administration settings values:
|
||||
| Log legacy data | 1 |
|
||||
And I navigate to "Manage log stores" node in "Site administration>Plugins>Logging"
|
||||
And I click on "Enable" "link" in the "Standard log" "table_row"
|
||||
And I am on homepage
|
||||
And I follow "Course 1"
|
||||
And I turn editing mode on
|
||||
@ -22,7 +22,7 @@ Feature: In a report, admin can see loglive data
|
||||
|
||||
@javascript
|
||||
Scenario: Check loglive report entries and make sure the report works for standard and legacy reader
|
||||
Given I navigate to "Live logs" node in "Site administration>Reports"
|
||||
Given I navigate to "Live logs" node in "Site administration > Reports"
|
||||
When I set the field "reader" to "Standard log"
|
||||
Then I should see "Course module created"
|
||||
And I should see "Test name"
|
||||
@ -34,7 +34,7 @@ Feature: In a report, admin can see loglive data
|
||||
@javascript
|
||||
Scenario: Check loglive report entries and make sure the pause/resume button works for standard reader along with ajax calls
|
||||
Given I am on homepage
|
||||
When I navigate to "Live logs" node in "Site administration>Reports"
|
||||
When I navigate to "Live logs" node in "Site administration > Reports"
|
||||
And I set the field "reader" to "Standard log"
|
||||
And I wait to be redirected
|
||||
And I should not see "Test name2"
|
||||
@ -57,7 +57,7 @@ Feature: In a report, admin can see loglive data
|
||||
@javascript
|
||||
Scenario: Check loglive report entries and make sure the pause/resume button works for legacy reader along with ajax calls
|
||||
Given I am on homepage
|
||||
When I navigate to "Live logs" node in "Site administration>Reports"
|
||||
When I navigate to "Live logs" node in "Site administration > Reports"
|
||||
And I set the field "reader" to "Legacy log"
|
||||
And I wait to be redirected
|
||||
And I should not see "Test name2"
|
||||
|
Loading…
x
Reference in New Issue
Block a user