-
-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathcodeception.dist.yml
48 lines (43 loc) · 1.39 KB
/
codeception.dist.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
namespace: 'Extcode\CartProducts\Tests\Acceptance\Support'
paths:
tests: 'Tests/Acceptance'
data: 'Tests/Acceptance/Data'
output: '.build/web/typo3temp/var/tests/acceptance-reports'
support: 'Tests/Acceptance/Support'
settings:
debug: true
extensions:
enabled:
-
'Codeception\Extension\RunProcess':
- 'geckodriver > .build/web/typo3temp/var/tests/acceptance-logs/geckodriver.log 2>&1'
- 'TYPO3_PATH_APP="$INSTANCE_PATH" TYPO3_PATH_ROOT="$INSTANCE_PATH" php -S 127.0.0.1:8080 -t "$INSTANCE_PATH" > .build/web/typo3temp/var/tests/acceptance-logs/php.log 2>&1'
-
'Codeception\Extension\Recorder'
-
'Extcode\CartProducts\Tests\Acceptance\Support\Environment':
typo3DatabaseDriver: 'pdo_sqlite'
suites:
acceptance:
actor: 'Tester'
path: '.'
modules:
enabled:
-
WebDriver:
url: 'http://127.0.0.1:8080/'
browser: 'firefox'
restart: true
path: ''
wait: 5
# Scrolling within iFrame doesn't work so well, so we use a bigger window size.
window_size: '1920x1080'
capabilities:
moz:firefoxOptions:
args:
- '-headless'
-
Extcode\CartProducts\Tests\Acceptance\Support\Helper:
depends: 'WebDriver'
step_decorators:
- 'Codeception\Step\Retry'