Skip to content
Snippets Groups Projects

Issue #3267881: Sync behat.yml files and the structure of Behat directory between sub modules

Merged Issue #3267881: Sync behat.yml files and the structure of Behat directory between sub modules
Merged Kumiko Ono requested to merge issue/cloud-3267881:3267881-sync-behat.yml-files into 5.x
Files
4
 
imports:
 
- ../../../../../../../cloud/tests/src/Behat/behat.yml
default:
default:
gherkin:
cache: ~
filters:
tags: ~@ignore&&~@wip
suites:
suites:
default:
default:
contexts:
contexts:
# See https://behat-drupal-extension.readthedocs.io/en/v4.0.1/contexts.html
- FeatureContext
- FeatureContext
# Provides step-definitions for creating users, terms, and nodes.
#- Drupal\DrupalExtension\Context\DrupalContext
# Builds on top of the Mink Extension and adds steps specific to regions
# and forms.
- Drupal\DrupalExtension\Context\MinkContext
- Drupal\DrupalExtension\Context\MinkContext
# Step-definitions that are specific to Drupal messages that get
# displayed (notice, warning, and error).
- Drupal\DrupalExtension\Context\MessageContext
- Drupal\DrupalExtension\Context\MessageContext
# Allows steps to directly call drush commands.
# - Drupal\DrupalExtension\Context\DrushContext
# - RawDrupalContext
# - MarkupContext
# - RandomContext
# - BatchContext
# Note: You can set here or $BEHAT_PARAMS.
extensions:
# For controlling chrome without the overhead of selenium.
DMore\ChromeExtension\Behat\ServiceContainer\ChromeExtension: ~
Drupal\MinkExtension:
ajax_timeout: 25
goutte: ~
selenium2: ~
browser_name: chrome
default_session: command_line_browser
javascript_session: js_enabled_browser
sessions:
command_line_browser:
goutte: ~
js_enabled_browser:
chrome:
api_url: http://localhost:9222
validate_certificate: false
# When drupal api_driver is used below, this base_url should be the same
# server where the tests run.
# base_url: http://localhost
Drupal\DrupalExtension:
# the api_driver will be used for scenarios tagged @api.
# blackbox, drush, or drupal
# blackbox driver assumes no privileged access to the site.
# blackbox: ~
# drupal api driver: limitation is that the tests must run on the
# same server as the Drupal site set by the base_url above.
api_driver: 'drupal'
drush:
alias: 'local'
#drupal:
# Uncomment or set to $BEHAT_PARAMS (recommended).
# drupal_root: '/var/www/html/web'
region_map:
actions: ".local-actions"
footer: ".footer"
nav_bar: ".navbar-collapse"
nav_tabs: ".tabs"
table: ".table"
error_message: '.alert-error'
success_message: '.alert-success'
warning_message: '.alert-warning'
selectors:
message_selector: '.alert'
error_message_selector: '.alert-error'
success_message_selector: '.alert-success'
warning_message_selector: '.alert-warning'
Loading