forked from amzn/amazon-payments-magento-2-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
behat.yml
115 lines (110 loc) · 3.12 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
default:
suites:
web:
paths:
features:
features/suites/store
contexts:
- Context\Data\FixtureContext
- Context\Data\CustomerContext
- Context\Data\ProductContext
- Context\Data\BasketContext
- Context\Data\OrderContext
- Context\Data\AmazonContext
- Context\Data\ConfigContext
- Context\Data\IpnContext:
- 'http://amazon-payment.dev'
- Context\Web\Store\LoginContext
- Context\Web\Store\RegisterContext
- Context\Web\Store\BasketContext
- Context\Web\Store\CheckoutContext
- Context\Web\Store\BillingContext
- Context\Web\Store\ShippingContext
- Context\Web\Store\AmazonContext
- Context\Web\Store\CustomerContext
- Context\Web\Store\ProductContext
- Context\Web\Admin\LoginContext
- Context\Web\Admin\OrderContext
extensions:
Cjm\Behat\StepThroughExtension: ~
Bex\Behat\Magento2InitExtension:
magento_bootstrap:
-
path: '../../../app/bootstrap.php'
magento_configs:
-
path: 'admin/security/use_form_key'
value: 0
-
path: 'is_behat_running'
value: 1
-
path: 'currency/options/allow'
value: 'GBP,CHF'
-
path: 'payment/amazon_payment/lwa_enabled'
value: '1'
-
path: 'payment/amazon_payment/pwa_enabled'
value: '1'
-
path: 'payment/amazon_payment/payment_action'
value: 'authorize'
-
path: 'payment/amazon_payment/authorization_mode'
value: 'synchronous'
-
path: 'payment/amazon_payment/update_mechanism'
value: 'instant'
-
path: 'payment/amazon_payment/payment_region'
value: 'uk'
-
path: 'payment/amazon_payment/sandbox'
value: '1'
-
path: 'general/locale/code'
value: 'en_GB'
-
path: 'currency/options/base'
value: 'GBP'
-
path: 'currency/options/default'
value: 'GBP'
-
path: 'tax/defaults/country'
value: 'GB'
-
path: 'general/country/default '
value: 'GB'
-
path: 'general/country/allow '
value: 'GB'
SensioLabs\Behat\PageObjectExtension:
namespaces:
page: [Page]
element: [Page\Element]
Behat\MinkExtension:
base_url: 'https://amazon-payment.dev'
show_cmd: echo '%s'
show_tmp_dir: /vagrant
default_session: goutte
javascript_session: firefox
sessions:
goutte:
goutte:
guzzle_parameters:
verify: false
firefox:
selenium2:
wd_host: http://localhost:4444/wd/hub
browser: firefox
host_firefox:
selenium2:
wd_host: http://localhost:4445/wd/hub
browser: firefox
firefox:
extensions:
Behat\MinkExtension\ServiceContainer\MinkExtension:
default_session: host_firefox
javascript_session: host_firefox