default:
  suites:
    basics:
      paths: [ %paths.base%/features/basics ]
      contexts:
        - FeatureContext
        - Drupal\DrupalExtension\Context\DrupalContext
        - Drupal\DrupalExtension\Context\MinkContext
        - Drupal\DrupalExtension\Context\MessageContext
        - Drupal\DrupalExtension\Context\DrushContext
    pages:
      paths: [ %paths.base%/features/pages ]
      contexts:
        - FeatureContext
        - Drupal\DrupalExtension\Context\DrupalContext
        - Drupal\DrupalExtension\Context\MinkContext
        - Drupal\DrupalExtension\Context\MessageContext
        - Drupal\DrupalExtension\Context\DrushContext
    docgen:
      paths: [ %paths.base%/features/docgen ]
      contexts:
        - FeatureContext
        - Drupal\DrupalExtension\Context\DrupalContext
        - Drupal\DrupalExtension\Context\MinkContext
        - Drupal\DrupalExtension\Context\MessageContext
        - Drupal\DrupalExtension\Context\DrushContext
  extensions:
    Bex\Behat\ScreenshotExtension:
      active_image_drivers: upload_pie
      image_drivers:
        upload_pie:
          auth: 'voDfhU'
          # possible values: '30m', '1h', '6h', '1d', '1w'
          expire: '1d'
    Behat\MinkExtension:
      selenium2:
        wd_host: http://localhost:4444/wd/hub
        # This needs chrome driver. The default is FF but new versions of FF
        # have bug that prevents clicking of links. The chromedriver can be
        # downloaded @ https://sites.google.com/a/chromium.org/chromedriver
        browser: chrome
        capabilities: {"browser": "chrome", "browserName": "chrome", "browserVersion": "ANY", "version": "ANY"}
      #phantomjs:
      #  phantom_server: "http://localhost:8510/api"
      #  template_cache: "/tmp/pjsdrivercache/phantomjs"
      javascript_session: selenium2
    Drupal\DrupalExtension:
      blackbox: ~
      api_driver: 'drupal'
      drupal:
        drupal_root: '%paths.base%/docroot'
      region_map:
        content: '.region-content'
        footer: '.region-footer'
        header: '.content-header'

imports:
  - behat-local.yml
