-
-
Notifications
You must be signed in to change notification settings - Fork 27
/
behat.yml
47 lines (46 loc) · 1.51 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
default:
autoload:
'': tests/Acceptance/Behat/bootstrap
suites:
default:
paths:
features: tests/Acceptance/Behat
contexts:
# Keep WordpressContext first!
- PaulGibbs\WordpressBehatExtension\Context\WordpressContext
- FeatureContext
- CommentContext
- TrackbackContext
- PluginContext
- Behat\MinkExtension\Context\MinkContext
- PaulGibbs\WordpressBehatExtension\Context\ContentContext
- PaulGibbs\WordpressBehatExtension\Context\DashboardContext
- PaulGibbs\WordpressBehatExtension\Context\UserContext
- PaulGibbs\WordpressBehatExtension\Context\EditPostContext
extensions:
DMore\ChromeExtension\Behat\ServiceContainer\ChromeExtension: ~
Behat\MinkExtension:
base_url: http://localhost:8080 # [!] Change this for your local development.
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:
path: %paths.base%/tmp/antispam-bee/ # [!] Change this for your local development.
default_driver: wpcli
wpcli:
binary: %paths.base%/vendor/bin/wp
database:
restore_after_test: true
users:
admin:
username: admin
password: abc