forked from monksbistro/gravityflow
-
Notifications
You must be signed in to change notification settings - Fork 0
/
codeception-browserstack.yml
127 lines (122 loc) · 3.16 KB
/
codeception-browserstack.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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
actor: Tester
params:
- env
paths:
tests: tests/acceptance-tests
log: tests/acceptance-tests/_output
data: tests/acceptance-tests/_data
helpers: tests/acceptance-tests/_support
settings:
bootstrap: _bootstrap.php
colors: true
memory_limit: 1024M
modules:
config:
WPWebDriver:
host: '%BROWSERSTACK_USER%:%BROWSERSTACK_KEY%@hub-cloud.browserstack.com'
url: 'http://wordpress'
port: 4444
restart: true
wait: 60
adminUsername: admin
adminPassword: password
adminPath: /wp-admin
capabilities:
browserstack.local: true
browserstack.debug: true
browserstack.console: errors
browserstack.localIdentifier: 'gravityflow-%CIRCLE_NODE_INDEX%'
WPLoader:
wpRootFolder: /wp-core
dbName: wordpress
dbHost: mysql
dbUser: wordpress
dbPassword: wordpress
wpDebug: false
tablePrefix: wp_
domain: wordpress
plugins: ['gravityforms/gravityforms.php', 'gravityformscoupons/coupons.php', 'gravityflow/gravityflow.php']
activatePlugins: ['gravityforms/gravityforms.php', 'gravityformscoupons/coupons.php', 'gravityflow/gravityflow.php']
env:
# OK
win-chrome:
modules:
config:
WPWebDriver:
browser: 'chrome'
capabilities:
os: Windows
os_version: 10
# Not OK
win-firefox:
modules:
config:
WPWebDriver:
browser: 'firefox'
capabilities:
os: Windows
os_version: 10
# Not OK - resetCookie crashes Edge
win-edge:
modules:
config:
WPWebDriver:
browser: 'Edge'
capabilities:
os: Windows
os_version: 10
# OK
win-ie:
modules:
config:
WPWebDriver:
browser: 'internet explorer'
capabilities:
os: Windows
os_version: 10
browserstack.ie.compatibility: 10001 # Version 11 run in protected mode for intranet domains.
# Not OK
mac-safari:
modules:
config:
WPWebDriver:
browser: 'Safari'
window_size: 'maximize'
capabilities:
os: 'OS X'
os_version: 'High Sierra'
browserstack.safari.allowAllCookies: true
# OK
mac-chrome:
modules:
config:
WPWebDriver:
browser: 'chrome'
capabilities:
os: 'OS X'
os_version: 'Mojave'
# NOT OK - flaky connections
ios:
modules:
config:
WPWebDriver:
browser: 'iPhone'
window_size: false
capabilities:
os: 'ios'
os_version: '12.0'
real_mobile: true
# OK
android:
modules:
config:
WPWebDriver:
browser: 'chrome'
window_size: false
capabilities:
device: 'Samsung Galaxy Note 8'
os: 'android'
os_version: '7.1'
real_mobile: true
unicode_keyboard: true
reset_keyboard: true