thuecat/codeception.dist.yml

44 lines
1.3 KiB
YAML

namespace: 'WerkraumMedia\ThueCat\Tests\Acceptance\Support'
paths:
tests: 'Tests/Acceptance'
data: 'Tests/Acceptance/Data'
output: '.Build/web/typo3temp/var/tests/AcceptanceReports'
support: 'Tests/Acceptance/Support'
settings:
debug: true
extensions:
enabled:
- 'Codeception\Extension\RunFailed'
suites:
acceptance:
actor: 'AcceptanceTester'
path: .
extensions:
enabled:
- 'Codeception\Extension\RunProcess':
- 'geckodriver > .Build/web/typo3temp/var/tests/AcceptanceReports/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/AcceptanceReports/php.log 2>&1'
- 'WerkraumMedia\ThueCat\Tests\Acceptance\Support\Environment':
'typo3DatabaseUsername': 'testing'
'typo3DatabasePassword': 'testing'
modules:
enabled:
- WebDriver:
url: 'http://localhost:8080'
browser: 'firefox'
restart: true
path: ''
wait: 5
capabilities:
moz:firefoxOptions:
args:
- '-headless'
- '\TYPO3\TestingFramework\Core\Acceptance\Helper\Acceptance'
step_decorators:
- 'Codeception\Step\Retry'