This repository has been archived by the owner on Dec 10, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 39
/
behat.yml
55 lines (50 loc) · 2.34 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
53
54
55
# hostname is probably 'localhost:8000' or '0.0.0.0:8000' when you run app/console server:run.
# files_path is the directory where your assets are located that are used for the backend tests. The backend tests require this to be set.
# This should be something like '/../../src/ProjectNamespace/YourCustomBundle/Features/Media/'
# multilanguage is again used for the backend tests. The site can be set up either multi-language or single-language.
# This variable has to match how your site is configured.
# For example when you use multiple language it has to say 'multi'.
# If your site is single-language it has to say 'single'.
default:
extensions:
Behat\Symfony2Extension:
kernel:
env: test
debug: true
Behat\MinkExtension:
base_url: 'http://localhost:8000/'
browser_name: chrome
selenium2: ~
files_path: '%paths.base%/src/MyProject/WebsiteBundle/Features/Media/'
default_session: chrome
sessions:
chrome:
selenium2:
browser: chrome
capabilities:
browserName: chrome
browser: chrome
version: ''
chrome:
switches:
- 'start-fullscreen'
- 'start-maximized'
- 'no-sandbox'
Lakion\Behat\MinkDebugExtension:
directory: '%paths.base%/.travis/build'
clean_start: false
screenshot: true
suites:
default:
type: symfony_bundle
contexts:
- MyProject\WebsiteBundle\Features\Context\FeatureContext:
parameters:
language: multi
- MyProject\WebsiteBundle\Features\Context\GroupContext
- MyProject\WebsiteBundle\Features\Context\MediaContext
- MyProject\WebsiteBundle\Features\Context\PageContext
- MyProject\WebsiteBundle\Features\Context\PagePartContext
- MyProject\WebsiteBundle\Features\Context\RoleContext
- MyProject\WebsiteBundle\Features\Context\UserContext
bundle: 'MyProjectWebsiteBundle'