forked from paulgibbs/behat-wordpress-extension
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbehat.yml.dist
44 lines (41 loc) · 1.39 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
default:
suites:
default:
contexts:
- PaulGibbs\WordpressBehatExtension\Context\WordpressContext
- FeatureContext
- 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
extensions:
DMore\ChromeExtension\Behat\ServiceContainer\ChromeExtension: ~
Behat\MinkExtension:
base_url: http://your-wordpress-site.example.com
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
path: /path/to/wordpress
users:
-
roles:
- administrator
username: admin
password: password
database:
restore_after_test: true