All Versions
131
Latest Version
Avg Release Cycle
17 days
Latest Release
-
Changelog History
Page 4
Changelog History
Page 4
-
v2.6.8 Changes
- [WebDriver][Protractor][Playwright][Puppeteer][Nightmare]
saveElementScreenshotmethod added to make screenshot of an element. By @suniljaiswal01 - [Playwright][Puppeteer] Added
typemethod to type a text using keyboard with an optional delay. - [WebDriver] Added optional
delayargument totypemethod to slow down typing. - 0๏ธโฃ [Puppeteer] Fixed
amOnPagefreeze whengetPageTimeoutis 0"; set 30 sec as default timeout by @Vorobeyko. - ๐ Fixed printing step with null argument in custom helper by @sjana-aj. See #2494
- ๐ Fix missing screenshot on failure when REST helper is in use #2513 by @PeterNgTr
- ๐ Improve error logging in the
screenshotOnFailplugin #2512 by @pablopaul
- [WebDriver][Protractor][Playwright][Puppeteer][Nightmare]
-
v2.6.7 Changes
- โ Add REST helper into
standardActingHelpersarray #2474 by @PeterNgTr - โ Add missing
--invertoption forrun-workerscommand #2504 by @pablopaul - [WebDriver] Introduce
forceRightClickmethod #2485 bylsuniljaiswal01 - [Playwright] Fix
setCookiemethod #2491 by @bmbarker90 - โก๏ธ [TypeScript] Update compilerOptions.target to es2017 #2483 by @shanplourde
- ๐ง [Mocha] Honor reporter configuration #2465 by @trinhpham
- โ Add REST helper into
-
v2.6.6 Changes
June 19, 2020- ๐คก Puppeteer 4.0 support. Important: MockRequest helper won't work with Puppeter > 3.3
- โ Added
xFeatureandFeature.skipto skip all tests in a suite. By @Georgegriff - ๐ [Appium] Fixed #2428 Android native locator support by @idxn
- ๐ [WebDriver] Fixed
waitNumberOfVisibleElementsto actually filter visible elements. By @ilangv - ๐ [Puppeteer] Fixed handling error which is not an Error object. Fixes
cannot read property indexOf of undefinederror. Fix #2436 by @Georgegriff - ๐จ [Puppeteer] Print error on page crash by @Georgegriff
-
v2.6.5 Changes
May 13, 2020- โ Added
test.skippedevent to run-workers, fixing allure reports with skipped tests in workers #2391. Fix #2387 by @koushikmohan1996 - ๐ [Playwright] Fixed calling
waitFor*methods with custom locators #2314. Fix #2389 by @Georgegriff
- โ Added
-
v2.6.4 Changes
May 11, 2020- ๐ [Playwright] Playwright 1.0 support by @Georgegriff.
-
v2.6.3 Changes
May 05, 2020- ๐ [stepByStepReport plugin] Fixed when using plugin with BeforeSuite. Fixes #2337 by @mirao
- โ [allure plugin] Fixed reporting of tests skipped by failure in before hook. Refer to #2349 & #2354. Fix by @koushikmohan1996
-
v2.6.2 Changes
April 23, 2020- [WebDriver][Puppeteer] Added
forceClickmethod to emulate click event instead of using native events. - โก๏ธ [Playwright] Updated to 0.14
- โก๏ธ [Puppeteer] Updated to Puppeteer v3.0
- ๐ [wdio] Fixed undefined output directory for wdio plugns. Fix By @PeterNgTr
- [Playwright] Introduced
handleDownloadsmethod to download file. Please note, this method has slightly different API than the same one in Puppeteer. - ๐ [allure] Fixed undefined output directory for allure plugin on using custom runner. Fix by @charliepradeep
- ๐ [WebDriver] Fixed
waitForEnabledfix for webdriver 6. Fix by @dsharapkou - ๐ท Workers: Fixed negative failure result if use scenario with the same names. Fix by @Vorobeyko
- ๐ [MockRequest] Updated documentation to match new helper version
- ๐ Fixed: skipped tests are not reported if a suite failed in
before. Refer #2349 & #2354. Fix by @koushikmohan1996
- [WebDriver][Puppeteer] Added
-
v2.6.1 Changes
April 05, 2020- ๐ [screenshotOnFail plugin] Fixed saving screenshot of active session.
- ๐ [screenshotOnFail plugin] Fix issue #2301 when having the flag
uniqueScreenshotNames=true results inundefinedin screenshot file name by @PeterNgTr - 0๏ธโฃ [WebDriver] Fixed
waitForElementnot applying the optional second argument to override the default timeout in webdriverio 6. Fix by @Mooksc - โก๏ธ [WebDriver] Updated
waitUntilmethod which is used by all of the wait* functions. This updates thewaitForElementby the same convention used to updatewaitForVisibleandwaitInUrlto be compatible with both WebDriverIO v5 & v6. See #2313 by @Mooksc
-
v2.6.0 Changes
March 31, 2020- โก๏ธ [Playwright] Updated to Playwright 0.12 by @Georgegriff.
โฌ๏ธ Upgrade playwright to 0.12:
npm i playwright@^0.12 --save๐ Notable changes:
- Fixed opening two browsers on start
executeScript- passed function now accepts only one argument. Pass in objects or arrays if you need multtple arguments:js // Old style, does not work anymore: I.executeScript((x, y) => x + y, x, y); // New style, passing an object: I.executeScript(({x, y}) => x + y, {x, y});click- automatically waits for element to become clickable (visible, not animated) and waits for navigation.clickLink- deprecatedwaitForClickable- deprecatedforceClick- added- Added support for custom locators. See #2277
- Introduced device emulation:
- globally via
emulateconfig option - per session
- globally via
โก๏ธ [WebDriver] Updated to webdriverio v6 by @PeterNgTr.
๐ Read release notes, then โฌ๏ธ upgrade webdriverio to 6.0:
npm i webdriverio@^6.0 --save๐ (webdriverio v5 support is deprecated and will be removed in CodeceptJS 3.0)
๐ [WebDriver] Introduced Shadow DOM support by @gkushang
I.click({ shadow: ['my-app', 'recipe-hello', 'button'] });- ๐ Fixed parallel execution of
run-workersfor Gherkin scenarios by @koushikmohan1996 - ๐ฆ [MockRequest] Updated and moved to standalone package:
- full support for record/replay mode for Puppeteer
- added
mockServermethod to use flexible PollyJS API to define mocks - fixed stale browser screen in record mode.
- ๐ [Playwright] Added support on for
screenshotOnFailplugin by @amonkc - ๐ Gherkin improvement: setting different tags per examples. See #2208 by @acuper
- โก๏ธ [TestCafe] Updated
clickto take first visible element. Fixes #2226 by @theTainted - โก๏ธ [Puppeteer][WebDriver] Updated
waitForClickablemethod to check for element overlapping. See #2261 by @PiQx - ๐ [Puppeteer] Dropped
puppeteer-firefoxsupport, as Puppeteer supports Firefox natively. - ๐ [REST] Rrespect Content-Type header. See #2262 by @pmarshall-legacy
- ๐ [allure plugin] Fixes BeforeSuite failures in allure reports. See #2248 by @Georgegriff
- ๐ [WebDriver][Puppeteer][Playwright] A screenshot of for an active session is saved in multi-session mode. See #2253 by @ChexWarrior
- ๐ Fixed
--profileoption by @pablopaul. Profile value to be passed intorun-multipleandrun-workers:
npx codecept run-workers 2 --profile firefox๐ Value is available at
process.env.profile(previouslyprocess.profile). See #2302. Fixes #1968 #1315- โ commentStep Plugin introduced. Allows to annotate logical parts of a test:
__`Given`; I.amOnPage('/profile') __`When`; I.click('Logout'); __`Then`; I.see('You are logged out'); -
v2.5.0 Changes
February 18, 2020- Experimental: Playwright helper introduced.
๐ป > Playwright is an alternative to Puppeteer which works very similarly to it but adds cross-browser support with Firefox and Webkit. Until v1.0 Playwright API is not stable but we introduce it to CodeceptJS so you could try it.
- ๐ [Puppeteer] Fixed basic auth support when running in multiple sessions. See #2178 by @ian-bartholomew
- ๐ [Puppeteer] Fixed
waitForTextwhen there is nobodyelement on page (redirect). See #2181 by @Vorobeyko - ๐ [Selenoid plugin] Fixed overriding current capabilities by adding deepMerge. Fixes #2183 by @koushikmohan1996
- โ Added types for
Scenario.todoby @Vorobeyko - โ Added types for Mocha by @Vorobeyko. Fixed typing conflicts with Jest
- [FileSystem] Added methods by @nitschSB
waitForFileseeFileContentsEqualReferenceFile
- โ Added
--colorsoption torunandrun-multipleso you force colored output in dockerized environment. See #2189 by @mirao - ๐ [WebDriver] Added
typecommand to enter value without focusing on a field. See #2198 by @xMutaGenx - ๐ Fixed
codeceptjs gtcommand to respect config pattern for tests. See #2200 and #2204 by @matheo