forked from ymcatwincities/openy
-
Notifications
You must be signed in to change notification settings - Fork 1
/
behat.yml
75 lines (75 loc) · 2.3 KB
/
behat.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
75
default:
autoload:
'': tests/features/bootstrap
suites:
default:
paths:
features: '%paths.base%/tests/features'
contexts:
- FeatureContext
- OpenyDrupalContext
- Drupal\DrupalExtension\Context\DrupalContext
- Drupal\DrupalExtension\Context\MinkContext
- Drupal\DrupalExtension\Context\MessageContext
- Drupal\DrupalExtension\Context\DrushContext
- IntegratedExperts\BehatScreenshotExtension\Context\ScreenshotContext
formatters:
html:
output_path: %paths.base%/build/reports/behat
pretty:
decorated: true
verbose: false
time: true
language: en
output_path: null
multiline_arguments: true
extensions:
Behat\MinkExtension:
goutte: ~
selenium2: ~
files_path: %paths.base%/tests/files
Drupal\DrupalExtension:
api_driver: drupal
drush_driver: drush
drush:
root: '/var/www/docroot'
blackbox: ~
region_map:
header: '#page-head'
header_area: '#edit-group-header-area'
content: '.main-region'
content_area: '#edit-group-content-area'
sidebar: '.sidebar-rigeon'
sidebar_area: '#edit-group-sidebar-area'
footer: 'footer'
dropdown_menu: 'ul.nav.dropdown-menu'
selectors:
login_form_selector: '#user-login-form'
message_selector: '.status-message'
error_message_selector: 'status-message__alert p'
success_message_selector: '.status-message ul, .status-message p'
text:
log_out: "Log out"
log_in: "Log in"
Drupal\TqExtension:
wait_for_email: 10
wait_for_redirect: 60
# email_account_strings: get_account_strings_for_email
# email_accounts:
# imap: imap.gmail.com:993/imap/ssl
# username: [email protected]
# password: p4sswDstr_1
emuse\BehatHTMLFormatter\BehatHTMLFormatterExtension:
renderer: Twig
name: html
file_name: index
print_args: true
print_outp: true
loop_break: true
IntegratedExperts\BehatScreenshotExtension:
dir: %paths.base%/build/reports/behat/screenshots
fail: true #make screenshots on failure
purge: false #don't purge folder on each run
imports:
- behat.local.yml