forked from drupalnorge/drupalnorge-social
-
Notifications
You must be signed in to change notification settings - Fork 0
/
behat.yml.dist
44 lines (44 loc) · 1.35 KB
/
behat.yml.dist
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
default:
autoload:
- './html/profiles/contrib/social/tests/behat/features/bootstrap'
- './tests/src/Context'
suites:
default:
paths:
features: %paths.base%/tests/features
filters:
tags: "~@todo"
contexts:
- Drupal\DrupalExtension\Context\MinkContext
- Drupal\DrupalExtension\Context\MarkupContext
- Drupal\DrupalExtension\Context\MessageContext
- Drupal\DrupalExtension\Context\DrushContext
- FeatureContext
- DrupalNorge\DrupalNorgeSocial\Tests\Context\DrupalNorgeContext
extensions:
Behat\MinkExtension:
files_path: %paths.base%/tests/files
base_url: http://127.0.0.1:8888
selenium2:
# This will probably be the same always, if you follow the guide for browsers below.
wd_host: http://localhost:8643/wd/hub
capabilities:
chrome:
switches:
- "--headless"
- "--disable-gpu"
- "--no-sandbox"
javascript_session: selenium2
browser_name: chrome
goutte: ~
Drupal\DrupalExtension:
blackbox: ~
drupal:
drupal_root: %paths.base%/html
api_driver: 'drupal'
text:
username_field: "name_or_mail"
password_field: "edit-pass"
log_in: "edit-submit"
region_map:
mentions: "#social-post-entity-form"