forked from nuvoleweb/drupal-behat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
behat.yml.dist
64 lines (64 loc) · 2.32 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
default:
suites:
default:
paths:
- "%paths.base%/tests/features"
contexts:
- Drupal\DrupalExtension\Context\ConfigContext
- Drupal\DrupalExtension\Context\MinkContext
- Drupal\DrupalExtension\Context\MarkupContext
- Drupal\DrupalExtension\Context\MessageContext
- Drupal\DrupalExtension\Context\DrupalContext
- NuvoleWeb\Drupal\Tests\Behat\TestContext
- NuvoleWeb\Drupal\DrupalExtension\Context\DrupalContext
- NuvoleWeb\Drupal\DrupalExtension\Context\ContentContext
- NuvoleWeb\Drupal\DrupalExtension\Context\CKEditorContext
- NuvoleWeb\Drupal\DrupalExtension\Context\ResponsiveContext:
devices:
mobile_portrait: 360x640
mobile_landscape: 640x360
tablet_portrait: 768x1024
tablet_landscape: 1024x768
laptop: 1280x800
desktop: 2560x1440
- NuvoleWeb\Drupal\DrupalExtension\Context\PositionContext
- NuvoleWeb\Drupal\DrupalExtension\Context\VisibilityContext
- NuvoleWeb\Drupal\DrupalExtension\Context\SelectFieldContext
- NuvoleWeb\Drupal\DrupalExtension\Context\ChosenFieldContext
- NuvoleWeb\Drupal\DrupalExtension\Context\ScreenShotContext
- NuvoleWeb\Drupal\DrupalExtension\Context\TaxonomyTermContext
- NuvoleWeb\Drupal\DrupalExtension\Context\ServiceContainerContext
filters:
tags: "~@wip"
extensions:
Drupal\MinkExtension:
browserkit_http: ~
ajax_timeout: 10
browser_name: 'chrome'
selenium2:
wd_host: 'http://selenium:4444/wd/hub'
capabilities:
browser: 'chrome'
version: "*"
chrome:
switches:
- "--headless"
- "--disable-gpu"
- "--start-maximized"
javascript_session: selenium2
base_url: "${drupal.base_url}"
NuvoleWeb\Drupal\DrupalExtension:
services: "tests/my_services.yml"
api_driver: "drupal"
drupal:
# Change this to the absolute path to Drupal install.
drupal_root: "${drupal.root}"
region_map:
left sidebar: "#sidebar-first"
content: "#content"
selectors:
error_message_selector: '.messages--error'
text:
node_submit_label: "Save"
formatters:
progress: ~