PHP code example of eliashaeussler / typo3-codeception-helper
1. Go to this page and download the library: Download eliashaeussler/typo3-codeception-helper library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
eliashaeussler / typo3-codeception-helper example snippets
$I->login('admin', 'password');
$I->loginAs('admin');
// TYPO3 11
$I->openModule('#web_list');
// TYPO3 12
$I->openModule('[data-modulemenu-identifier="web_list"]');
yaml
# codeception.yml
extensions:
enabled:
- EliasHaeussler\Typo3CodeceptionHelper\Codeception\Extension\ApplicationEntrypointModifier:
entrypoints:
- web-dir: .Build/web
main-entrypoint: index.php
app-entrypoint: app.php
- web-dir: .Build/web/typo3
main-entrypoint: index.php
app-entrypoint: app.php
.Build
└── web
├── app.php # contains the original contents from index.php
└── index.php # generated entrypoint that