forked from os2display/core-bundle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
behat.yml
48 lines (45 loc) · 1.36 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
default:
calls:
error_reporting: 16383 # E_ALL & ~E_USER_DREPRECATED
suites:
default:
mink_session: default
mink_javascript_session: selenium2
type: symfony_bundle
bundle: Os2DisplayCoreBundle
contexts:
- Os2Display\CoreBundle\Features\Context\FeatureContext: ["@doctrine"]
# FeatureContext extends MinkContext
# - Behat\MinkExtension\Context\MinkContext
- behatch:context:rest
- behatch:context:json
api_features:
mink_session: default
type: symfony_bundle
bundle: Os2DisplayCoreBundle
paths:
- Features/api/
contexts:
- Os2Display\CoreBundle\Features\Context\FeatureContext: ["@doctrine"]
- Behat\MinkExtension\Context\MinkContext
- behatch:context:rest
- behatch:context:json
filters:
tags: @api
extensions:
Behat\Symfony2Extension:
kernel:
env: acceptance
debug: true
path: Features/Fixtures/Project/app/AppKernel.php
bootstrap: Features/Fixtures/Project/app/bootstrap.php
Behat\MinkExtension:
base_url: https://admin.os2display.vm/
sessions:
default:
symfony2: ~
selenium2:
selenium2: ~
show_cmd: open -a /Applications/Firefox.app/ %s
files_path: "%paths.base%/Features/files"
Behatch\Extension: ~