HEX
Server: LiteSpeed
System: Linux server.zepintelhosting.com 4.18.0 #1 SMP Mon Sep 30 15:36:27 MSK 2024 x86_64
User: enamadmin (1026)
PHP: 8.2.30
Disabled: exec,system,passthru,shell_exec,proc_open,popen,apache_child_terminate
Upload Files
File: /home/enamadmin/public_html/aaelearningb/admin/tool/monitor/tests/behat/disabled.feature
@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"