HEX
Server: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/8.0.30
System: Linux multiplicar 3.10.0-1160.102.1.el7.x86_64 #1 SMP Tue Oct 17 15:42:21 UTC 2023 x86_64
User: root (0)
PHP: 8.0.30
Disabled: NONE
Upload Files
File: /var/www/html/sudameris.sumar.com.py/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"