This repository has been archived by the owner on Jan 13, 2018. It is now read-only.
forked from cibox/cibox
-
Notifications
You must be signed in to change notification settings - Fork 0
/
behat.j2
66 lines (65 loc) · 2.05 KB
/
behat.j2
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
# {{ ansible_managed }}
# WARNING! This file is managed by Ansible and MUST NOT be edited directly.
# If you familiar with Behat configs then edit "/var/www/scripts/templates/behat.j2"
# and run "cikit tests" to apply changes.
default:
formatters:
html:
output_path: {{ reports.dir }}/behat
suites:
default:
contexts:
- FeatureContext: ~
- Drupal\DrupalExtension\Context\MinkContext: ~
- Drupal\DrupalExtension\Context\DrupalContext: ~
- Drupal\DrupalExtension\Context\MarkupContext: ~
- Drupal\DrupalExtension\Context\MessageContext: ~
extensions:
emuse\BehatHTMLFormatter\BehatHTMLFormatterExtension:
name: html
renderer: Twig
file_name: Index
print_args: true
print_outp: true
loop_break: true
Behat\MinkExtension:
goutte:
guzzle_parameters:
# Ignore cURL error about self-signed SSL certificates.
verify: false
config:
curl:
CURLOPT_TIMEOUT: 300
CURLOPT_CONNECTTIMEOUT: 0
selenium2: ~
base_url: {{ "http://localhost:8080/" + build_id if build_id is defined else site_url }}
files_path: resources
Drupal\TqExtension:
wait_for_email: 10
wait_for_redirect: 60
# email_account_strings: get_account_strings_for_email
# email_accounts:
# example1@email.com:
# imap: imap.gmail.com:993/imap/ssl
# username: example1@email.com
# password: p4sswDstr_1
Drupal\DrupalExtension:
blackbox: ~
api_driver: drupal
drush:
root: {{ project_webroot }}
drupal:
drupal_root: {{ project_webroot }}
text:
log_in: Log in
log_out: Log out
username_field: Username
password_field: Password
selectors:
message_selector: .messages
error_message_selector: .messages.error
success_message_selector: .messages.status
warning_message_selector: .messages.warning
region_map:
content: "#content"
sidebar: "#sidebar"