forked from paulgibbs/behat-wordpress-extension
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbehat.yml
52 lines (48 loc) · 1.62 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
default:
suites:
default:
contexts:
- PaulGibbs\WordpressBehatExtension\Context\WordpressContext
- Behat\MinkExtension\Context\MinkContext
- PaulGibbs\WordpressBehatExtension\Context\ContentContext
- PaulGibbs\WordpressBehatExtension\Context\DashboardContext
- PaulGibbs\WordpressBehatExtension\Context\SiteContext
- PaulGibbs\WordpressBehatExtension\Context\UserContext
- PaulGibbs\WordpressBehatExtension\Context\EditPostContext
- PaulGibbs\WordpressBehatExtension\Context\WidgetContext
- PaulGibbs\WordpressBehatExtension\Context\ToolbarContext
- PaulGibbs\WordpressBehatExtension\Context\DebugContext
- FailAid\Context\FailureContext
extensions:
DMore\ChromeExtension\Behat\ServiceContainer\ChromeExtension: ~
Behat\MinkExtension:
base_url: http://behat.local
browser_name: chrome
default_session: headless
javascript_session: javascript
sessions:
headless:
goutte:
guzzle_parameters:
verify: false
javascript:
chrome:
api_url: http://localhost:9222
validate_certificate: false
PaulGibbs\WordpressBehatExtension:
default_driver: wpcli
users:
-
roles:
- administrator
username: admin
password: password
database:
restore_after_test: true
wpcli:
binary: vendor/bin/wp
alias: dev
site_url: http://behat.local/wp/
FailAid\Extension:
screenshotDirectory: '%paths.base%/tests/artifacts'
screenshotMode: default