forked from phpList/phplist3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
default.behat.yml
76 lines (72 loc) · 2.52 KB
/
default.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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
default:
autoload:
- %paths.base%/tests/features/bootstrap
suites:
default:
paths:
- %paths.base%/tests/features
contexts:
- FeatureContext:
# Set database access credentials
database:
host: 127.0.0.1
user: phplist
password: phplist
name: phplistdb
# Set admin user login credentials
admin:
username: admin
password: Mypassword123+
- MailContext:
mail_dir: %paths.base%/build/mails
- SubscriberContext
- UserContext
extensions:
Bex\Behat\ScreenshotExtension:
image_drivers:
local:
# Where screenshots taken in case of failure will be stored on disk
screenshot_directory: build/screenshot
# This enables removing all images before each test run. False by default
clear_screenshot_directory: true
Behat\MinkExtension:
base_url: 'http://127.0.0.1:8000'
default_session: goutte
goutte: ~
sessions:
default:
goutte: ~
chrome:
selenium2:
browser: chrome
capabilities:
browserName: chrome
browser: chrome
version: ""
chrome:
switches:
- "--headless"
- "--disable-gpu"
- "--window-size=2000,2000"
- "--lang=en"
- "--no-sandbox"
firefox:
selenium2:
capabilities:
browser: firefox
version: ""
marionette: true
goutte:
extensions:
Behat\MinkExtension:
default_session: goutte
chrome:
extensions:
Behat\MinkExtension:
browser_name: chrome
default_session: chrome
firefox:
extensions:
Behat\MinkExtension:
default_session: firefox
browser_name: firefox