-
Notifications
You must be signed in to change notification settings - Fork 7
/
behat.yml.dist
78 lines (77 loc) · 3.06 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
68
69
70
71
72
73
74
75
76
77
default:
suites:
default:
paths:
- "%paths.base%/tests/features"
contexts:
- Drupal\DrupalExtension\Context\MinkContext
- Drupal\DrupalExtension\Context\DrupalContext
- Drupal\DrupalExtension\Context\ConfigContext
- Drupal\DrupalExtension\Context\MessageContext
- Drupal\Tests\oe_media\Behat\DrupalContext
- Drupal\Tests\oe_media\Behat\AvPortalContext
- Drupal\Tests\oe_media\Behat\FeatureContext
- Drupal\Tests\oe_media\Behat\MediaContext
- Drupal\Tests\oe_media\Behat\CleanupContext
- Drupal\Tests\oe_media\Behat\WebtoolsContext
- OpenEuropa\Behat\TransformationContext:
pages:
AV Portal video creation: 'media/add/av_portal_video'
AV Portal photo creation: 'media/add/av_portal_photo'
media overview: 'admin/content/media'
demo content creation: 'node/add/oe_media_demo'
document creation: 'media/add/document'
iframe creation: 'media/add/iframe'
image creation: 'media/add/image'
remote video selection: 'media/add/remote_video'
Webtools chart creation: 'media/add/webtools_chart'
Webtools countdown creation: 'media/add/webtools_countdown'
Webtools generic creation: 'media/add/webtools_generic'
Webtools map creation: 'media/add/webtools_map'
Webtools social feed creation: 'media/add/webtools_social_feed'
Webtools OP publication list creation: 'media/add/webtools_op_publication_list'
Video iframe creation: 'media/add/video_iframe'
extensions:
Drupal\MinkExtension:
browserkit_http: ~
browser_name: "${selenium.browser}"
base_url: "${drupal.base_url}"
files_path: "%paths.base%/tests/fixtures/"
javascript_session: selenium2
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'
ajax_timeout: 10
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'
formatters:
progress: ~