-
Notifications
You must be signed in to change notification settings - Fork 11
/
behat.yml.dist
67 lines (67 loc) · 2.33 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
default:
suites:
default:
paths:
- "%paths.base%/tests/features"
contexts:
- Drupal\DrupalExtension\Context\ConfigContext
- Drupal\DrupalExtension\Context\DrupalContext
- Drupal\DrupalExtension\Context\MessageContext
- Drupal\DrupalExtension\Context\MinkContext
- Drupal\Tests\oe_authentication\Behat\AuthenticationContext
- Drupal\Tests\oe_authentication\Behat\CleanupContext
- Drupal\Tests\cas_mock_server\Context\CasMockServerContext:
attributes_map:
firstName: First name
lastName: Last name
departmentNumber: Department
domain: Organisation
groups: Groups
- OpenEuropa\Behat\TransformationContext:
pages:
Authentication configuration: 'admin/config/system/oe_authentication'
user registration: '/user/register'
extensions:
Drupal\MinkExtension:
browserkit_http: ~
ajax_timeout: 10
browser_name: 'chrome'
javascript_session: 'selenium2'
base_url: "${drupal.base_url}"
selenium2:
wd_host: '${selenium.host}:${selenium.port}/wd/hub'
capabilities:
browser: chrome
nativeEvents: true
marionette: true
browserName: chrome
version: '*'
extra_capabilities:
chromeOptions:
w3c: false
args:
- '--no-sandbox'
- '--start-maximized'
- '--disable-gpu'
- '--window-size=1440,900'
- '--disable-dev-shm-usage'
- '--disable-setuid-sandbox'
- '--disable-web-security'
- '--DNS-prefetch-disable'
- '--disable-translate'
- '--ignore-certificate-errors'
- '--test-type'
- '--disable-extensions'
- '--incognito'
- '--disable-infobars'
Drupal\DrupalExtension:
api_driver: "drupal"
drupal:
drupal_root: "${drupal.root}"
selectors:
message_selector: ".messages"
error_message_selector: '.messages.messages--error'
success_message_selector: '.messages.messages--status'
warning_message_selector: '.messages.messages--warning'
formatters:
progress: ~