All Versions
131
Latest Version
Avg Release Cycle
17 days
Latest Release
-
Changelog History
Page 6
Changelog History
Page 6
-
v2.3.0 Changes
August 15, 2019- โ
Parallel testing by workers introduced by @VikalpP and @davertmik. Use
run-workers
command as faster and simpler alternative torun-multiple
. Requires NodeJS v12
- โ
Parallel testing by workers introduced by @VikalpP and @davertmik. Use
-
v2.2.1 Changes
July 28, 2019- [WebDriver] A dedicated guide written.
- โ [TestCafe] A dedicated guide written.
- ๐คก [Puppeteer] A chapter on mocking written
- โ
[Puppeteer][Nightmare][TestCafe] Window mode is enabled by default on
codeceptjs init
. - โ
[TestCafe] Actions implemented by @hubidu
grabPageScrollPosition
scrollPageToTop
scrollPageToBottom
scrollTo
switchTo
- ๐ Intellisense improvements. Renamed
tsconfig.json
tojsconfig.json
on init. Fixed autocompletion for Visual Studio Code. - ๐ง [Polly] Take configuration values from Puppeteer. Fix #1766 by @VikalpP
- ๐ [Polly] Add preconditions to check for puppeteer page availability by @VikalpP. Fixes #1767
- ๐ [WebDriver] Use filename for
uploadFile
by @VikalpP. See #1797 - ๐ง [Puppeteer] Configure speed of input with
pressKeyDelay
option. By @hubidu - ๐ Fixed recursive loading of support objects by @davertmik.
- ๐ Fixed support object definitions in steps.d.ts by @johnyb. Fixes #1795
- ๐ Fixed
Data().Scenario().injectDependencies()
is not a function by @andrerleao - ๐ Fixed crash when using xScenario & Scenario.skip with tag by @VikalpP. Fixes #1751
- ๐ Dynamic configuration of helpers can be performed with async function. See #1786 by @cviejo
- โ Added TS definitions for internal objects by @Vorobeyko
- BDD improvements:
- Fix for snippets command with a .feature file that has special characters by @asselin
- Fix
--path
option ongherkin:snippets
command by @asselin. See #1790 - Added
--feature
option togherkin:snippets
to enable creating snippets for a subset of .feature files. See #1803 by @asselin.
- ๐ Fixed: dynamic configs not reset after test. Fixes #1776 by @cviejo.
-
v2.2.0 Changes
July 07, 2019- EXPERIMENTAL TestCafe helper introduced. TestCafe allows to run cross-browser tests it its own very fast engine. Supports all browsers including mobile. Thanks to @hubidu for implementation! Please test it and send us feedback.
- ๐คก [Puppeteer] Mocking requests enabled by introducing Polly.js helper. Thanks @VikalpP
// use Polly & Puppeteer helpers I.mockRequest('GET', '/api/users', 200); I.mockRequest('POST', '/users', { user: { name: 'fake' }});
- EXPERIMENTAL [Puppeteer] Firefox support introduced by @ngadiyak, see #1740
- ๐ [stepByStepReportPlugin] use md5 hash to generate reports into unique folder. Fix #1744 by @chimurai
- Interactive pause improvements:
- print result of
grab
commands - print message for successful assertions
- print result of
run-multiple
(parallel execution) improvements:bootstrapAll
must be called before creating chunks. #1741 by @Vorobeyko- Bugfix: If value in config has falsy value then multiple config does not overwrite original value. #1756 by @LukoyanovE
- ๐ Fixed hooks broken in 2.1.5 by @Vorobeyko
- ๐ Fix references to support objects when using Dependency Injection. Fix by @johnyb. See #1701
- ๐ Fix dynamic config applied for multiple helpers by @VikalpP #1743
-
v2.1.5 Changes
June 24, 2019- EXPERIMENTAL Wix Detox support introduced as standalone helper. Provides a faster alternative to Appium for mobile testing.
- Saving successful commands inside interactive pause into
_output/cli-history
file. By @hubidu - ๐ Fixed hanging error handler inside scenario. See #1721 by @haily-lgc.
- ๐ Fixed by @Vorobeyko: tests did not fail when an exception was raised in async bootstrap.
- [WebDriver] Added window control methods by @emmonspired
grabAllWindowHandles
returns all window handlesgrabCurrentWindowHandle
returns current window handleswitchToWindow
switched to window by its handle
- ๐ง [Appium] Fixed using
host
as configuration by @trinhpham - ๐ Fixed
run-multiple
command whentests
config option is undefined (in Gherkin scenarios). By @gkushang. - ๐ German translation introduced by @hubidu
-
v2.1.4 Changes
- ๐ [WebDriver][Puppeteer][Protractor][Nightmare] A11y locator support introduced by @Holorium. Clickable elements as well as fields can be located by following attributes:
aria-label
title
aria-labelledby
- ๐ [Puppeteer] Added support for React locators.
- New React Guide added.
- ๐ [Puppeteer] Deprecated
downloadFile
- [Puppeteer] Introduced
handleDownloads
replacingdownloadFile
- ๐ [puppeteerCoverage plugin] Fixed path already exists error by @seta-tuha.
- ๐ Fixed 'ERROR: ENAMETOOLONG' creating directory names in
run-multiple
with long config. By @artvinn - ๐ [REST] Fixed url autocompletion combining base and relative paths by @LukoyanovE
- [Nightmare][Protractor]
uncheckOption
method introduced by @PeterNgTr - ๐ [autoLogin plugin] Enable to use without
await
by @tsuemura - โ [Puppeteer] Fixed
UnhandledPromiseRejectionWarning: "Execution context was destroyed...
by @adrielcodeco - ๐ป [WebDriver] Keep browser window dimensions when starting a new session by @spiroid
- Replace Ghekrin plceholders with values in files that combine a scenerio outline and table by @medtoure18.
- โ Added Documentation to locate elements in React Native apps. By @DimGun.
- โ Adding optional
path
parameter tobdd:snippets
command to append snippets to a specific file. By @cthorsen31. - โ Added optional
output
parameter todef
command by @LukoyanovE. - ๐ [Puppeteer] Added
grabDataFromPerformanceTiming
by @PeterNgTr. - โก๏ธ axios updated to
0.19.0
by @SteveShaffer - โก๏ธ TypeScript defitions updated by @LukoyanovE. Added
secret
andinject
function.
- ๐ [WebDriver][Puppeteer][Protractor][Nightmare] A11y locator support introduced by @Holorium. Clickable elements as well as fields can be located by following attributes:
-
v2.1.3 Changes
- ๐ Fixed autoLogin plugin to inject
login
function - ๐ Fixed using
toString()
in DataTablewhen it is defined by @tsuemura
- ๐ Fixed autoLogin plugin to inject
-
v2.1.2 Changes
- ๐ Fixed
inject
to load objects recursively. - ๐ Fixed TypeScript definitions for locators by @LukoyanovE
- EXPERIMENTAL [WebDriver] ReactJS locators support with webdriverio v5.8+:
// locating React element by name, prop, state I.click({ react: 'component-name', props: {}, state: {} }); I.seeElement({ react: 'component-name', props: {}, state: {} });
- ๐ Fixed
-
v2.1.1 Changes
- ๐ Do not retry
within
andsession
calls insideretryFailedStep
plugin. Fix by @tsuemura
- ๐ Do not retry
-
v2.1.0 Changes
- โ Added global
inject()
function to require actor and page objects using dependency injection. Recommended to use in page objects, step definition files, support objects:
// old way const I = actor(); const myPage = require('../page/myPage'); // new way const { I, myPage } = inject();
- โ Added global
secret
function to fill in sensitive data. By @RohanHart:
I.fillField('password', secret('123456'));
- ๐ wdioPlugin Added a plugin to support webdriverio services including selenium-standalone, sauce, browserstack, etc. Sponsored by @GSasu
- ๐ [Appium] Fixed
swipe*
methods by @PeterNgTr - BDD Gherkin Improvements:
- Implemented
run-multiple
for feature files. Sponsored by @GSasu - Added
--features
and--tests
options torun-multiple
. Sponsored by @GSasu - Implemented
Before
andAfter
hooks in step definitions
- Implemented
- ๐ Fixed running tests by absolute path. By @batalov.
- โ Enabled the adding screenshot to failed test for moch-junit-reporter by @PeterNgTr.
- ๐ [Puppeteer] Implemented
uncheckOption
and fixed behavior ofcheckOption
by @aml2610 - ๐ [WebDriver] Fixed
seeTextEquals
on empty strings by @PeterNgTr - ๐ป [Puppeteer] Fixed launch with
browserWSEndpoint
config by @ngadiyak. - ๐ [Puppeteer] Fixed switching back to main window in multi-session mode by @davertmik.
- ๐ [autoLoginPlugin] Fixed using async functions for auto login by @nitschSB
๐ > This release was partly sponsored by @GSasu. Thanks for the support! Do you want to improve this project? [Learn more about sponsorin CodeceptJS
- โ Added global
-
v2.0.8 Changes
- [Puppeteer] Added
downloadFile
action by @PeterNgTr.
โ Use it with
FileSystem
helper to test availability of a file:const fileName = await I.downloadFile('a.file-link'); I.amInPath('output'); I.seeFile(fileName);
๐ > Actions
amInPath
andseeFile
are taken from FileSystem helper- ๐ [Puppeteer] Fixed
autoLogin
plugin with Puppeteer by @davertmik - ๐ [WebDriver]
seeInField
should throw error if element has no value attrubite. By @PeterNgTr - ๐ [WebDriver] Fixed
seeTextEquals
passes for any string if element is empty by @PeterNgTr. - โ
[WebDriver] Internal refctoring to use
el.isDisplayed
to match latest webdriverio implementation. Thanks to @LukoyanovE - ๐ [allure plugin] Add ability enable screenshotDiff plugin by @Vorobeyko
- ๐ [Appium] Fixed
locator.stringify
call by @LukoyanovE
- [Puppeteer] Added