diff --git a/tests/behat/behat.yml b/tests/behat/behat.yml index a691f88f..5c8ba9fc 100644 --- a/tests/behat/behat.yml +++ b/tests/behat/behat.yml @@ -1,25 +1,24 @@ default: - autoload: [ %paths.base%/bootstrap ] + autoload: [ '%paths.base%/bootstrap' ] gherkin: filters: # Allow skipping tests by tagging them with "@skipped" tags: "~@skipped" suites: default: - paths: [ %paths.base%/features ] + paths: [ '%paths.base%/features' ] contexts: - - FeatureContext - - Drupal\DrupalExtension\Context\DrupalContext - - Drupal\DrupalExtension\Context\MinkContext - - Drupal\DrupalExtension\Context\MarkupContext - - Drupal\DrupalExtension\Context\MessageContext - - IntegratedExperts\BehatScreenshotExtension\Context\ScreenshotContext + - FeatureContext + - Drupal\DrupalExtension\Context\MinkContext + - Drupal\DrupalExtension\Context\MarkupContext + - Drupal\DrupalExtension\Context\MessageContext + - DrevOps\BehatScreenshotExtension\Context\ScreenshotContext extensions: Behat\MinkExtension: goutte: ~ base_url: http://nginx:8080 - files_path: %paths.base%/fixtures + files_path: '%paths.base%/fixtures' browser_name: chrome selenium2: wd_host: "http://chrome:4444/wd/hub" @@ -31,19 +30,22 @@ default: api_driver: drupal drush_driver: drush drupal: - drupal_root: /app/web + drupal_root: web drush: - root: /app/web + root: web selectors: message_selector: '.messages' error_message_selector: '.messages.error' success_message_selector: '.messages.status' warning_message_selector: '.messages.warning' # Allows to capture HTML and JPG screenshots (based on the driver used). - IntegratedExperts\BehatScreenshotExtension: - dir: %paths.base%/screenshots + DrevOps\BehatScreenshotExtension: + dir: '%paths.base%/screenshots' fail: true purge: false + # Show explicit fail information and continue the test run. + DrevOps\BehatFormatProgressFail\FormatExtension: ~ + p0: gherkin: filters: