HEX
Server: Apache
System: Linux webm010.cluster103.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User: iestorre (46869)
PHP: 8.0.30
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/iestorre/moodleAW/moodle10/admin/tests/behat/set_admin_settings_value.feature
@core @core_admin
Feature: Set admin settings value
  In order to set admin settings value
  As an admin
  I need to set admin setting value and verify it is applied

  Background:
    Given the following "courses" exist:
      | fullname | shortname | category |
      | Course fullname | C_shortname | 0 |
    And I log in as "admin"
    And I should see "Course fullname"
    And I should not see "C_shortname Course fullname"

  Scenario: set admin value with full name
    Given I set the following administration settings values:
      | Display extended course names | 1 |
    When I press "Save changes"
    And I am on homepage
    Then I should see "C_shortname Course fullname"

  Scenario: set admin value with short name
    Given I set the following administration settings values:
      | courselistshortnames | 1 |
    When I press "Save changes"
    And I am on homepage
    Then I should see "C_shortname Course fullname"