default:
  autoload:
    '': "%paths.base%/tests/features/bootstrap"
  suites:
    default:
      paths:
        - "%paths.base%/tests/features"
      contexts:
        - VarbaseContext:
            parameters:
              varbase_users:
                webmaster: { email: 'webmaster@vardot.com', password: 'dD.123123ddd' }
                Normal user: { email: 'test.authenticated@vardot.com', password: 'dD.123123ddd' }
                Editor: { email: 'test.editor@vardot.com', password: 'dD.123123ddd' }
                Content admin: { email: 'test.content_admin@vardot.com', password: 'dD.123123ddd' }
                SEO admin: { email: 'test.seo_admin@vardot.com', password: 'dD.123123ddd' }
                Site admin: { email: 'test.site_admin@vardot.com', password: 'dD.123123ddd' }
                Super admin: { email: 'test.super_admin@vardot.com', password: 'dD.123123ddd' }
        - Drupal\DrupalExtension\Context\ConfigContext
        - Drupal\DrupalExtension\Context\DrupalContext
        - Drupal\DrupalExtension\Context\DrushContext
        - Drupal\DrupalExtension\Context\MessageContext
        - Drupal\DrupalExtension\Context\MinkContext
        - Drupal\DrupalExtension\Context\MarkupContext
        - Drupal\DrupalExtension\Context\RandomContext
  formatters:
    pretty:
      verbose: true
      paths: false
      snippets: false
    html:
      verbose: true
      paths: false
      snippets: false
      output_path: "%paths.base%/tests/reports/"
  extensions:
    Drupal\MinkExtension:
      base_url: http://varbase.test
      browser_name: chrome
      default_session: selenium2
      javascript_session: selenium2
      ajax_timeout: 120
      files_path: "%paths.base%/tests/assets/"
      selenium2:
        browser: chrome
        wd_host: 'http://127.0.0.1:4445/wd/hub'
        capabilities:
          browser: chrome
          browserName: chrome
          extra_capabilities:
            "goog:chromeOptions":
              args:
                - "--headless"
                - "--start-maximized"
                - "--disable-gpu"
                - "--window-size=1600,1200"
                - "--disable-web-security"
                - "--allow-running-insecure-content"
                - "--allow-insecure-localhost"
                - "--no-sandbox"
                - "--disable-dev-shm-usage"
                - "--disable-extensions"
                - "--disable-setuid-sandbox"
                - "--DNS-prefetch-disable"
                - "--disable-translate"
                - "--ignore-certificate-errors"
                - "--ignore-ssl-errors"
                - "--ignore-certificate-errors-spki-list"
                - "--test-type"
                - "--disable-infobars"
                - "--remote-debugging-port=9222"
                - "--disable-features=VizDisplayCompositor"
                - "--disable-popup-blocking"
                - "--disable-prompt-on-repost"
                - "--no-first-run"
                - "--disable-default-apps"
                - "--disable-hang-monitor"
                - "--disable-client-side-phishing-detection"
                - "--disable-background-networking"
                - "--disable-sync"
                - "--metrics-recording-only"
    Drupal\DrupalExtension:
      blackbox: ~
      api_driver: 'drupal' 
      drush:
        alias: 'local'
      drupal: 
        drupal_root: '/var/www/html/test/varbase/docroot' 
      region_map:
        content: ".main-container"
        footer: "#footer"
        left header: "#header-left"
        right header: "#header-right"
        right sidebar: "#aside-region"
        field body: "#edit-body-wrapper"
      selectors:
        message_selector: '.messages'
        error_message_selector: '.messages.error'
        success_message_selector: '.messages.status'
        warning_message_selector: '.messages.warning'
    webship\BehatHTMLFormatter\BehatHTMLFormatterExtension:
      name: html
      renderer: Twig,Behat2
      file_name: index
      print_args: false
      print_outp: false
      loop_break: false
