This repository has been archived by the owner on May 29, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
example.local.yml
56 lines (55 loc) · 1.93 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
# To generate a local.yml file using this the example template, execute:
# `blt tests:behat:init:config` 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}
contexts:
- Drupal\FeatureContext:
parameters:
environment:
# absolute path to local directory to store screenshots - do not include trailing slash
screenshot_dir: ${tests.reports.localDir}
- Drupal\DrupalExtension\Context\DrupalContext
- Drupal\DrupalExtension\Context\MinkContext
- Drupal\DrupalExtension\Context\MessageContext
- Drupal\DrupalExtension\Context\DrushContext
- Drupal\DrupalExtension\Context\ConfigContext
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"
socket_timeout: 30
Drupal\DrupalExtension:
drupal:
# This must be an absolute path.
drupal_root: ${docroot}
drush:
alias: '@self'