source: moodle/trunk/fuentes/admin/tool/monitor/tests/behat/disabled.feature @ 136

Last change on this file since 136 was 136, checked in by mabarracus, 4 years ago

Ported code to xenial

File size: 783 bytes
Line 
1@javascript @tool @tool_monitor
2Feature: Enable/disable managment of the event monitor
3  In order to manage event monitoring
4  As an admin
5  I need to enable/disable it
6
7  @javascript
8  Scenario: Tool is disabled by default.
9    Given I log in as "admin"
10    When I navigate to "Event monitoring rules" node in "Site administration > Reports"
11    Then I should see "Event monitoring is currently disabled"
12    And I should see "Enable"
13    And I should not see "Add a new rule"
14    And I click on "Enable" "link"
15    And I should see "Event monitoring is currently enabled"
16    And I should see "Disable"
17    And I should see "Add a new rule"
18    And I click on "Disable" "link"
19    And I should see "Event monitoring is currently disabled"
20    And I should not see "Add a new rule"
Note: See TracBrowser for help on using the repository browser.