-
Notifications
You must be signed in to change notification settings - Fork 5
/
behat.yml.dist
executable file
·79 lines (79 loc) · 3.19 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
78
79
default:
suites:
default:
paths:
- "%paths.base%/tests/features"
contexts:
- Drupal\DrupalExtension\Context\DrupalContext
- Drupal\DrupalExtension\Context\MessageContext
- Drupal\DrupalExtension\Context\MinkContext
- Drupal\Tests\oe_media\Behat\MediaContext
- Drupal\Tests\oe_media\Behat\WebtoolsContext
- Drupal\Tests\oe_content\Behat\FeatureContext
- Drupal\Tests\oe_paragraphs\Behat\CleanupContext
- Drupal\Tests\oe_paragraphs\Behat\DrupalContext
- Drupal\Tests\oe_paragraphs\Behat\FieldsContext
- Drupal\Tests\oe_paragraphs\Behat\MediaContext
- Drupal\Tests\oe_paragraphs\Behat\ParagraphsContext
- OpenEuropa\Behat\TransformationContext:
pages:
content management: "/admin/content"
iframe creation: "/media/add/iframe"
image creation: "/media/add/image"
document creation: "/media/add/document"
remote video creation: "/media/add/remote_video"
avportal video creation: "/media/add/av_portal_video"
avportal photo creation: "/media/add/av_portal_photo"
Webtools chart creation: 'media/add/webtools_chart'
Webtools map creation: 'media/add/webtools_map'
Webtools social feed creation: 'media/add/webtools_social_feed'
Webtools countdown creation: 'media/add/webtools_countdown'
Video iframe creation: 'media/add/video_iframe'
extensions:
Drupal\MinkExtension:
browserkit_http: ~
browser_name: 'chrome'
javascript_session: selenium2
ajax_timeout: 10
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'
base_url: "${drupal.base_url}"
files_path: "%paths.base%/tests/fixtures/"
Drupal\DrupalExtension:
api_driver: "drupal"
drupal:
drupal_root: "build"
selectors:
message_selector: ".messages,.ecl-message"
error_message_selector: ".messages.messages--error,.ecl-message--error"
success_message_selector: ".messages.messages--status,.ecl-message--success"
region_map:
social media links form element: ".field--name-field-oe-social-media-links"
see more form element: ".field--name-field-oe-social-media-see-more"
demo paragraphs element: ".field--name-field-oe-demo-body"
formatters:
progress: ~