This repository has been archived by the owner on Oct 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbehat.yml
82 lines (81 loc) · 2.67 KB
/
behat.yml
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
80
81
82
default:
autoload: [ '%paths.base%/tests/behat/bootstrap' ]
suites:
default:
paths: [ '%paths.base%/tests/behat/features' ]
contexts:
- DrevOps\BehatPhpServer\PhpServerContext:
- docroot: "%paths.base%/tests/behat/fixtures"
host: "phpserver"
- DrevOps\BehatScreenshotExtension\Context\ScreenshotContext
- DrevOps\BehatRelativityExtension\Context\RelativityContext
- FeatureContext
extensions:
Behat\MinkExtension:
goutte: ~
files_path: "%paths.base%/tests/behat/fixtures"
browser_name: chrome
base_url: http://phpserver:8888
selenium2:
wd_host: "http://chrome:4444/wd/hub"
capabilities: { "browser": "chrome", "version": "*", "marionette": true }
javascript_session: selenium2
DrevOps\BehatScreenshotExtension:
dir: "%paths.base%/screenshots"
fail: true
purge: true
DrevOps\BehatRelativityExtension:
breakpoints:
mobile:
width: 320
height: 480
tablet:
width: 768
height: 1024
desktop:
width: 992
height: 1024
default: true
desktop_large:
width: 1200
height: 900
# Vertical offset.
offset: 60
# jQuery
jquery_version: 2.2.4
# List of test components.
components:
'page': "#page"
'main': "#main"
'top': "#top"
'bottom': "#bottom"
'left': "#left"
'right': "#right"
'main inner': "#main-inner"
'hidden': "#hidden"
'missing': "#non-existing"
'off-canvas left': "#off-canvas-left"
'off-canvas right': "#off-canvas-right"
'off-canvas top': "#off-canvas-top"
'off-canvas bottom': "#off-canvas-bottom"
'sr only': "#sr-only"
'sr only shown': "#sr-only-shown"
'hover': "#hover"
'hover content': "#hover-content"
'overlay': "#overlay"
'overlay trigger': "#overlay-trigger"
'off-canvas overlay': "#overlay-off-canvas"
'off-canvas overlay trigger': "#overlay-off-canvas-trigger"
'over-bottom': "#over-bottom"
'over-inside': "#over-inside"
'over-inside inner': "#over-inside-inner"
'over-outside': "#over-outside"
'over-outside inner': "#over-outside-inner"
'over-intersect': "#over-intersect"
'over-intersect inner': "#over-intersect-inner"
'over-cover': "#over-cover"
'over-cover inner': "#over-cover-inner"
'over-fixed': "#over-fixed"
'over-fixed inner': "#over-fixed-inner"
'over-under': "#over-under"
'over-under inner': "#over-under-inner"