This repository was archived by the owner on Mar 5, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 394
/
Copy pathexample.local.yml
74 lines (72 loc) · 2.46 KB
/
example.local.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
# To generate a local.yml file using this the example template, execute:
# `blt setup:behat` from the project root.
imports:
- behat.yml
local:
suites:
default:
paths:
# Set features to repo root so that .feature files belonging to contrib
# modules, themes, and profiles can be discovered.
features: ${repo.root}
bootstrap: ${repo.root}/tests/behat/features/bootstrap
contexts:
- Drupal\FeatureContext:
parameters:
environment:
# absolute path to local directory to store screenshots - do not include trailing slash
screenshot_dir: ${reports.localDir}
- Drupal\DrupalExtension\Context\DrupalContext
- Drupal\DrupalExtension\Context\MinkContext
- Drupal\DrupalExtension\Context\MessageContext
- Drupal\DrupalExtension\Context\DrushContext
extensions:
DMore\ChromeExtension\Behat\ServiceContainer\ChromeExtension: ~
Behat\MinkExtension:
browser_name: chrome
javascript_session: default
# configure the base url for your site
base_url: ${project.local.uri}
# set default command for "Show last response" step.
show_cmd: "open %s"
# use the following lines to disable SSL authentication for goutte.
# goutte:
# guzzle_parameters:
# redirect.disable: true
# ssl.certificate_authority: system
# curl.options:
# CURLOPT_SSL_VERIFYPEER: false
# CURLOPT_SSL_VERIFYHOST: false
# CURLOPT_CERTINFO: false
# CURLOPT_TIMEOUT: 120
selenium2:
wd_host: ${behat.selenium.url}
browser: chrome
sessions:
default:
chrome:
api_url: "http://localhost:9222"
Drupal\DrupalExtension:
drupal:
# This must be an absolute path.
drupal_root: ${docroot}
drush:
alias: '@self'
example-multisite:
extensions:
Behat\MinkExtension:
javascript_session: selenium2
# Configure the base url for your site. For multisite, ensure that this
# corresponds to a valid domain entry in sites.php.
base_url: http://127.0.0.1:8889
# set default command for "Show last response" step.
show_cmd: "open %s"
selenium2:
wd_host: ${behat.selenium.url}
browser: chrome
Drupal\DrupalExtension:
drupal:
# This must be an absolute path.
drupal_root: ${docroot}
drush:
alias: '@self'