Security update for permissions_by_term
[yaffs-website] / vendor / drupal / drupal-extension / features / config.feature
1 @api @d8
2 Feature: ConfigContext
3   In order to prove the Config context is working properly
4   As a developer
5   I need to use the step definitions of this context
6
7   Background: User is an administrator.
8     Given I am logged in as a user with the "administer site configuration" permission
9
10   Scenario: Set the site name and check it appears on the config form.
11     Given I set the configuration item "system.site" with key "name" to "Test config update"
12     When  I go to "admin/config/system/site-information"
13     Then  the "Site name" field should contain "Test config update"
14
15   Scenario: Set a complex config and check it appears on the config form.
16     Given I set the configuration item "system.performance" with key "css" with values:
17       |key        | value |
18       |preprocess | true  |
19     When I go to "admin/config/development/performance"
20     Then the "Aggregate CSS files" checkbox should be checked