X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=vendor%2Fdrupal%2Fdrupal-extension%2Ffeatures%2Fconfig.feature;fp=vendor%2Fdrupal%2Fdrupal-extension%2Ffeatures%2Fconfig.feature;h=c7754dba8f30e466a8ec76f238c7c4d476d94ea4;hp=0000000000000000000000000000000000000000;hb=1270d9129ce8f27c9b28b10518e32132c58e0aca;hpb=c27c0f0cdaa3f354b1fe54a56ae7e854be6e3f68 diff --git a/vendor/drupal/drupal-extension/features/config.feature b/vendor/drupal/drupal-extension/features/config.feature new file mode 100644 index 000000000..c7754dba8 --- /dev/null +++ b/vendor/drupal/drupal-extension/features/config.feature @@ -0,0 +1,20 @@ +@api @d8 +Feature: ConfigContext + In order to prove the Config context is working properly + As a developer + I need to use the step definitions of this context + + Background: User is an administrator. + Given I am logged in as a user with the "administer site configuration" permission + + Scenario: Set the site name and check it appears on the config form. + Given I set the configuration item "system.site" with key "name" to "Test config update" + When I go to "admin/config/system/site-information" + Then the "Site name" field should contain "Test config update" + + Scenario: Set a complex config and check it appears on the config form. + Given I set the configuration item "system.performance" with key "css" with values: + |key | value | + |preprocess | true | + When I go to "admin/config/development/performance" + Then the "Aggregate CSS files" checkbox should be checked