1 |
efrain |
1 |
@tool @tool_monitor
|
|
|
2 |
Feature: 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 |
Scenario: Tool is disabled by default.
|
|
|
8 |
Given I log in as "admin"
|
|
|
9 |
When I navigate to "Reports > Event monitoring rules" in site administration
|
|
|
10 |
Then I should see "Event monitoring is currently disabled"
|
|
|
11 |
And I should see "Enable"
|
|
|
12 |
And I should not see "Add a new rule"
|
|
|
13 |
And I click on "Enable" "link"
|
|
|
14 |
And I should see "Event monitoring is currently enabled"
|
|
|
15 |
And I should see "Disable"
|
|
|
16 |
And I should see "Add a new rule"
|
|
|
17 |
And I click on "Disable" "link"
|
|
|
18 |
And I should see "Event monitoring is currently disabled"
|
|
|
19 |
And I should not see "Add a new rule"
|