CodeceptJS v2.4.0 Release Notes
Release Date: 2020-01-10 // over 4 years ago-
- ๐ Improved setup wizard with
npx codecept init
:- enabled retryFailedStep plugin for new setups.
- enabled @codeceptjs/configure to toggle headless/window mode via env variable
- creates a new test on init
- removed question on "steps file", create it by default.
- โ Added pauseOnFail plugin. Sponsored by Paul Vincent Beigang and his book "Practical End 2 End Testing with CodeceptJS".
- โ Added
run-rerun
command to run tests multiple times to detect and fix flaky tests. By @Ilrilan and @Vorobeyko. - โ Added
Scenario.todo()
to declare tests as pending. See #2100 by @Vorobeyko - โ Added support for absolute path for
output
dir. See #2049 by @elukoyanov - ๐ Fixed error in
npx codecept init
caused by callingconsole.print
. See #2071 by @Atinux. - [Filesystem] Methods added by @aefluke:
seeFileNameMatching
grabFileNames
- ๐ [Puppeteer] Fixed grabbing attributes with hyphen by @Holorium
- โ
[TestCafe] Fixed
grabAttributeFrom
method by @elukoyanov - ๐ง [MockRequest] Added support for Polly config options by @ecrmnn
- โ [TestCafe] Fixes exiting with zero code on failure. Fixed #2090 with #2106 by @koushikmohan1996
- ๐ [WebDriver][Puppeteer] Added basicAuth support via config. Example:
basicAuth: {username: 'username', password: 'password'}
. See #1962 by @PeterNgTr - ๐ [WebDriver][Appium] Added
scrollIntoView
by @pablopaul - ๐ Fixed #2118: No error stack trace for syntax error by @senthillkumar
- โ Added
parse()
method to data table inside Cucumber tests. Use it to obtain rows and hashes for test data. See #2082 by @Sraime
- ๐ Improved setup wizard with