codeceptjs
Advanced tools
Changelog
2.0.1
codecept init
.Changelog
2.0.0
[WebDriver] Breaking Change. Updated to webdriverio v5. New helper WebDriver helper introduced.
Upgrade plan:
npm install webdriverio@5 --save
Replace WebDriverIO
=> WebDriver
helper name in config.
Read webdriverio changelog. If you were using webdriver API in your helpers, upgrade accordingly.
We made WebDriver helper to be compatible with old API so no additional changes required.
If you face issues using webdriverio v5 you can still use webdriverio 4.x and WebDriverIO helper. Make sure you have
webdriverio: ^4.0
installed.
Known issues: attachFile
doesn't work with proxy server.
[Appium] Breaking Change. Updated to use webdriverio v5 as well. See upgrade plan ↑
[REST] Breaking Change. Replaced unirest
library with axios
.
Upgrade plan:
unirest
requests/responses in your tests change them to axios format.Breaking Change. Generators support in tests removed. Use async/await
in your tests
Using codecept.conf.js
as default configuration format
Fixed "enametoolong" error when saving screenshots for data driven tests by @PeterNgTr
Updated NodeJS to 10 in Docker image
[Pupeteer] Add support to use WSEndpoint. Allows to execute tests remotely. [See #1350] by @gabrielcaires (https://github.com/codeceptjs/CodeceptJS/pull/1350)
In interactive shell [Enter] goes to next step. Improvement by @PeterNgTr.
I.say
accepts second parameter as color to print colorful comments. Improvement by @PeterNgTr.
I.say('This is red', 'red'); //red is used
I.say('This is blue', 'blue'); //blue is used
I.say('This is by default'); //cyan is used
Changelog
1.4.6
dragSlider
action added by @PeterNgTr--invert
option to run-multiple
command by @LukoyanovEoutput
to customize output directory in stepByStepReport plugin. By @fpsthirtyChangelog
1.4.5
ts-node/register
to register TypeScript parsershould
to register should-style assertions"require": ["ts-node/register", "should"]
run-parallel
now accepts --override
flag. Thanks to @ClemCBRUN_MULTIPLE
env variable to Docker config. Allows to run tests in parallel inside a container. Thanks to @PeterNgTrScenario.tag()
Changelog
1.4.4
click
no longer waits for navigationclickLink
method added. Performs a click and waits for navigation.run
command and ignored on list
, def
, etc. Fix by @LukoyanovEChangelog
1.4.3
tag()
method to ScenarioConfig and FeatureConfig:Scenario('update user profile', () => {
// test goes here
}).tag('@slow');
multiple.parallel.chunks
as environment variable in config. See #1238 by @ngadiyakChangelog
1.4.2
outputDir
for allure) by @jplegoffChangelog
1.4.1
plugins
option to run-multiple
Changelog
1.4.0
stepByStepReport
- creates nicely looking report to see test execution as a slideshow. Use this plugin to debug tests in headless environment without recording a video.allure
- Allure reporter added as plugin.screenshotOnFail
- saves screenshot on fail. Replaces similar functionality from helpers.retryFailedStep
- to rerun each failed step.executeAsyncScript
unexpected token by @jonathanzoverride
option to run-multiple
command by @svarlet