Files
moodle/admin/tool/monitor/tests/behat/disabled.feature
T
Víctor Déniz Falcón 02fda279ed MDL-57281 behat: deprecated step definition I navigate to node in
Definition step deprecated and affected tests modified.
2018-08-20 12:53:26 +01:00

20 lines
750 B
Gherkin

@tool @tool_monitor
Feature: Enable/disable managment of the event monitor
In order to manage event monitoring
As an admin
I need to enable/disable it
Scenario: Tool is disabled by default.
Given I log in as "admin"
When I navigate to "Reports > Event monitoring rules" in site administration
Then I should see "Event monitoring is currently disabled"
And I should see "Enable"
And I should not see "Add a new rule"
And I click on "Enable" "link"
And I should see "Event monitoring is currently enabled"
And I should see "Disable"
And I should see "Add a new rule"
And I click on "Disable" "link"
And I should see "Event monitoring is currently disabled"
And I should not see "Add a new rule"