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/elearning_plateforme1/lib/tests/behat/enabledashboard.feature
@core
Feature: Enable dashboard setting
  In order to hide/show dashboard in navigation
  As an administrator
  I can enable or disable it

  Scenario: Hide setting when dashboard is disabled
    Given the following config values are set as admin:
      | enabledashboard | 0 |
# 2 = User preference.
      | defaulthomepage | 2 |
    When I log in as "admin"
    And I navigate to "Appearance > Navigation" in site administration
    Then the field "Enable Dashboard" matches value "0"
    And I should not see "Allow guest access to Dashboard"
    And I should not see "Dashboard" in the "Start page for users" "select"
    And I follow "Appearance"
    And I should not see "Default Dashboard page"
    And I follow "Preferences" in the user menu
    And I follow "Start page"
    And I should not see "Dashboard" in the "Start page" "select"