- BREAKING Modules removed:
- Yii1
- XMLRPC
- AngularJS
- Silex
- ZF1
- POSSIBLE BREAKING PHPUnit 8.x support.
Upgrade Notice: If you face issues with conflicting PHPUnit classes or difference in method signatures, lock version for PHPUnit in composer.json: “phpunit/phpunit”:”^7.0.0”
- BREAKING Multi-session testing disabled by default. Add
use \Codeception\Lib\Actor\Shared\Friend;
to enable$I->haveFriend
. - BREAKING [WebDriver]
pauseExecution
removed in favor of$I->pause()
- Interactive pause inside tests with
$I->pause();
command in debug mode added. Allows to write and debug test in realtime. - Introduced Step Decorators - auto-generated actions around module and helper methods. As part of this feature implemented
- Conditional Assertions (
$I->canSee()
) - Retries (
$I->retryClick()
); - Silent Actions(
$I->tryToClick
).
- Conditional Assertions (
- Print artifacts on test failure
- [REST] Short API responses in debug mode with
shortDebugResponse
config option. See #5455 by @sebastianneubert - [WebDriver]
switchToIFrame
allow to locate iframe by CSS/XPath.