| Server IP : 104.21.80.248 / Your IP : 172.71.28.156 Web Server : Apache/2.4.25 (Win32) OpenSSL/1.0.2j PHP/5.6.30 System : Windows NT WIN-ECQAAA40806 6.2 build 9200 (Windows Server 2012 Standard Edition) i586 User : SYSTEM ( 0) PHP Version : 5.6.30 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : E:/Inetpub/www/myschool/triamudom/tuprblearn/report/eventlist/tests/behat/ |
Upload File : |
@report @report_eventlist
Feature: Page contains a list of events
In order to find information about events
As a user
I need to check the page contents
@javascript
Scenario: Event list page is viewable and filtering works
Given I log in as "admin"
And I navigate to "Reports > Events list" in site administration
And I should see "Event name"
And I set the field "eventname" to "phase"
And I press "filterbutton"
And I should see "Phase switched"
And I should not see "Comment created"
And I press "clearbutton"
And I set the field "eventcomponent" to "URL"
And I press "filterbutton"
And I should see "Course module instance list viewed"
And I should not see "User added to cohort"
And I press "clearbutton"
And I set the field "eventedulevel" to "Teaching"
And I press "filterbutton"
And I should see "Attempt deleted"
And I should not see "Quiz attempt abandoned"
And I press "clearbutton"
And I set the field "eventcrud" to "delete"
And I press "filterbutton"
And I should see "Cohort deleted"
And I should not see "Cohort updated"
And I press "clearbutton"
And I set the field "eventcomponent" to "Assignment"
And I set the field "eventedulevel" to "Participating"
And I press "filterbutton"
And I should see "A submission has been submitted"
And I should not see "An extension has been granted"
And I press "clearbutton"
And I set the field "eventedulevel" to "Other"
And I set the field "eventcrud" to "read"
And I press "filterbutton"
And I should see "Notes viewed"
And I should not see "Highscores viewed"
And I press "clearbutton"
And I set the field "eventname" to "viewed"
And I set the field "eventcomponent" to "Forum"
And I set the field "eventedulevel" to "Participating"
And I set the field "eventcrud" to "read"
And I press "filterbutton"
Then I should see "User report viewed"
And I should not see "Subscribers viewed"
@javascript
Scenario: Details of an event are viewable
Given I log in as "admin"
And I navigate to "Reports > Events list" in site administration
And I should see "Event name"
And I follow "Blog association created"
And I should see "Blog association created"
And I should see "blog_association"
And I should see "create"
And I should see "Log store manager (tool_log)"
And I follow "\core\event\base"
Then I should see "core: base"