All Versions
131
Latest Version
Avg Release Cycle
17 days
Latest Release
-
Changelog History
Page 5
Changelog History
Page 5
-
v2.4.3 Changes
January 27, 2020- ๐ Hotfix for interactive pause
-
v2.4.2 Changes
January 27, 2020- Interactive pause improvements by @koushikmohan1996
- allows using in page objects and variables:
pause({ loginPage, a })
- enables custom commands inside pause with
=>
prefix:=> loginPage.open()
- allows using in page objects and variables:
- ๐ Selenoid plugin added by by @koushikmohan1996
- uses Selenoid to launch browsers inside Docker containers
- automatically records videos and attaches them to allure reports
- can delete videos for successful tests
- can automatically pull in and start Selenoid containers
- works with WebDriver helper
- ๐ท Avoid failiure report on successful retry in worker by @koushikmohan1996
- โ Added translation ability to Scenario, Feature and other context methods by @koushikmohan1996
- ๐ข Please help us translate context methods to your language! See italian translation as an example and send patches to vocabularies.
- ๐ allurePlugin: Added
say
comments to allure reports by @PeterNgTr. - ๐ Fixed no custom output folder created when executed with run-worker. Fix by @PeterNgTr
- ๐ [Puppeteer] Fixed error description for context element not found. See #2065. Fix by @PeterNgTr
- ๐ [WebDriver] Fixed
waitForClickable
to wait for exact number of seconds by @mirao. Resolves #2166 - ๐ Fixed setting
compilerOptions
injsconfig.json
file on init by @PeterNgTr - [Filesystem] Added method by @nitschSB
seeFileContentsEqualReferenceFile
waitForFile
- Interactive pause improvements by @koushikmohan1996
-
v2.4.1 Changes
January 13, 2020- ๐ [Hotfix] - Add missing lib that prevents codeceptjs from initializing.
-
v2.4.0 Changes
January 10, 2020- ๐ 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
-
v2.3.6 Changes
November 23, 2019- ๐ Create better Typescript definition file through JSDoc. By @lemnis
- ๐ท
run-workers
now can use glob pattern. By @Ilrilanjs // Example: exports.config = { tests: '{./workers/base_test.workers.js,./workers/test_grep.workers.js}', }
- โ Added new command
npx codeceptjs info
which print information about your environment and CodeceptJS configs. By @jamesgeorge007 - ๐ Fixed some typos in documantation. By @pablopaul @atomicpages @EricTendian
- โ Added PULL_REQUEST template.
- [Puppeteer][WebDriver] Added
waitForClickable
for waiting clickable element on page. - โ [TestCafe] Added support for remote connection. By @jvdieten
- ๐ [Puppeteer] Fixed
waitForText
XPath context now works correctly. By @Heavik - โ
[TestCafe] Fixed
clearField
clear field now awaits TestCafe's promise. By @orihomie - ๐ [Puppeteer] Fixed fails when executing localStorage on services pages. See #2026
- ๐ Fixed empty tags in test name. See #2038
-
v2.3.5 Changes
October 21, 2019- ๐ Set "parse-function" dependency to "5.2.11" to avoid further installation errors.
-
v2.3.4 Changes
October 21, 2019- ๐ Fixed installation error "Cannot find module '@babel/runtime/helpers/interopRequireDefault'". The issue came from
parse-function
package. Fixed by @pablopaul. - ๐ [Puppeteer] Fixed switching to iframe without an ID by @johnyb. See #1974
- โ Added
--profile
option torun-workers
by @orihomie - โ Added a tag definition to
FeatureConfig
andScenarioConfig
by @sseliverstov
- ๐ Fixed installation error "Cannot find module '@babel/runtime/helpers/interopRequireDefault'". The issue came from
-
v2.3.3 Changes
October 15, 2019- ๐ customLocator plugin introduced. Adds a locator strategy for special test attributes on elements.
// when data-test-id is a special test attribute // enable and configure plugin to replace this I.click({ css: '[data-test-id=register_button]'); // with this I.click('$register_button');
- [Puppeteer][WebDriver]
pressKey
improvements by @martomo: ๐ Changed pressKey method to resolve issues and extend functionality.- Did not properly recognize 'Meta' (or 'Command') as modifier key.
- Right modifier keys did not work in WebDriver using JsonWireProtocol.
- 'Shift' + combination would not reflect actual keyboard behavior.
- Respect sequence with multiple modifier keys passed to pressKey.
- Added support to automatic change operation modifier key based on operating system.
- ๐ [Puppeteer][WebDriver] Added
pressKeyUp
andpressKeyDown
to press and release modifier keys likeControl
orShift
. By @martomo. - [Puppeteer][WebDriver] Added
grabElementBoundingRect
by @PeterNgTr. - ๐ [Puppeteer] Fixed speed degradation introduced in #1306 with accessibility locators support. See #1953.
- โ Added
Config.addHook
to add a function that will update configuration on load. - ๐ง Started
@codeceptjs/configure
package with a collection of common configuration patterns. - ๐ [TestCafe] port's management removed (left on TestCafe itself) by @orihomie. Fixes #1934.
- ๐ [REST] Headers are no more declared as singleton variable. Fixes #1959
- Updated Docker image to include run tests in workers with
NUMBER_OF_WORKERS
env variable. By @PeterNgTr.
-
v2.3.2 Changes
September 24, 2019- ๐ [Puppeteer] Fixed Puppeteer 1.20 support by @davertmik
- ๐ Fixed
run-workers
to run with complex configs. See #1887 by @nitschSB - โ Added
--suites
option torun-workers
to split suites by workers (tests of the same suite goes to teh same worker). Thanks @nitschSB. - โ Added a guide on Email Testing.
- ๐ [retryFailedStepPlugin] Improved to ignore wait* steps and others. Also added option to ignore this plugin per test bases. See updated documentation. By @davertmik
- ๐ Fixed using PageObjects as classes by @Vorobeyko. See #1896
- ๐ [WebDriver] Fixed opening more than one tab. See #1875 by @jplegoff. Fixes #1874
- ๐ Fixed #1891 when
I.retry()
affected retries of next steps. By @davertmik
-
v2.3.1 Changes
September 06, 2019- ๐คก [MockRequest] Polly helper was renamed to MockRequest.
- ๐คก [MockRequest][WebDriver] Mocking requests is now available in WebDriver. Thanks @radhey1851
- ๐ [Puppeteer] Ensure configured user agent and/or window size is applied to all pages. See #1862 by @martomo
- ๐ Improve handling of xpath locators with round brackets by @nitschSB. See #1870
- ๐ Use WebDriver capabilities config in wdio plugin. #1869 by @quekshuy