Codeception 1.8.1 is out. Bugfixes and small useful features in it. The most interesting improvement was done by frqnck. Phar version now has
self-update command which acts the same way as it is in composer. From now on you can easily upgrade
Small yet important change in WebDriver module. Default
wait parameter is set to 0. This was done because Selenium implicit waits didn’t work as expected - this parameter slowed down test execution. Browser waited for element even if it was already on a page. Please notice this on upgrading.
- upgraded to php-webdriver 0.3
- added general
sendAjaxRequest()method to all framework/phpbrowser modules to send ajax requests of any types by gchaincl.
- fixed URI construction in Yii1 module by kop(also in 1.7)
Fixed Yii2 statusCodeby cebe
Placeholder\Registry::unsetRegistry()should only be used with < 2.2.0 by Bittarman
waitForElementChange()was fixed in WebDriver module
dontSeeLinkmethods in framework modules by enumag.
seeHttpHeaderOnceto REST module for checking if headers appear only once.
- setUpBeforeClass/tearDownAfterClass method will work as they are expected in PHPUnit
Debug::debugcan output any variable in console.
- fixed: “WebDriver
makeScreenshotdoesn’t create directories” by joksnet
grabValueFrommethod in framework modules (also in 1.7)
- fixed: “Disable remote coverage not work” by tiger-seo (also in 1.6, 1.7)
self-updatecommand added to phar by frqnck
Dependencies were updated, thus Symfony components were updated to 2.4. No changes to composer.json was made, so this release is compatible with Symfony 2.3 as well.
codeception.phar for update:
for composer version