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_nice,proc_terminate,pfsockopen,dl,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname,leak,apache_child_terminate
Upload Files
File: /home/enamadmin/public_html/elearning_plateforme1/admin/tests/behat/site_administration.feature
@core @core_admin
Feature: Navigate site administration pages
  In order to configure my site
  As an admin
  I need to be able to navigate the site administration pages

  @javascript
  Scenario: Navigate to an admin category page
    Given I log in as "admin"
    When I navigate to "Plugins > Activity modules > Assignment" in site administration
    # Ensure secondary navigation is still present and "Plugins" is selected.
    Then "//a[@aria-current = 'true' and normalize-space() = 'Plugins']" "xpath" should exist in the ".secondary-navigation" "css_element"
    And I should see "Category: Assignment"

  @javascript
  Scenario: Navigate to an admin settings page
    Given I log in as "admin"
    When I navigate to "Plugins > Activity modules > Forum" in site administration
    # Ensure secondary navigation is still present and "Plugins" is selected.
    Then "//a[@aria-current = 'true' and normalize-space() = 'Plugins']" "xpath" should exist in the ".secondary-navigation" "css_element"
    And I should see "Forum"