All Versions
131
Latest Version
Avg Release Cycle
17 days
Latest Release
-

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 to run-multiple. Requires NodeJS v12
  • 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 to jsconfig.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 on gherkin:snippets command by @asselin. See #1790
      • Added --feature option to gherkin: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
    • 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 handles
      • grabCurrentWindowHandle returns current window handle
      • switchToWindow switched to window by its handle
    • ๐Ÿ”ง [Appium] Fixed using host as configuration by @trinhpham
    • ๐Ÿ›  Fixed run-multiple command when tests 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.
    • ๐Ÿ—„ [Puppeteer] Deprecated downloadFile
    • [Puppeteer] Introduced handleDownloads replacing downloadFile
    • ๐Ÿ”Œ [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 to bdd:snippets command to append snippets to a specific file. By @cthorsen31.
    • โž• Added optional output parameter to def command by @LukoyanovE.
    • ๐ŸŽ [Puppeteer] Added grabDataFromPerformanceTiming by @PeterNgTr.
    • โšก๏ธ axios updated to 0.19.0 by @SteveShaffer
    • โšก๏ธ TypeScript defitions updated by @LukoyanovE. Added secret and inject function.
  • v2.1.3 Changes

    • ๐Ÿ›  Fixed autoLogin plugin to inject login function
    • ๐Ÿ›  Fixed using toString() in DataTablewhen it is defined by @tsuemura
  • 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: {} });
    
  • v2.1.1 Changes

    • ๐Ÿ”Œ Do not retry within and session calls inside retryFailedStep plugin. Fix by @tsuemura
  • 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 to run-multiple. Sponsored by @GSasu
      • Implemented Before and After hooks in step definitions
    • ๐Ÿ›  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 of checkOption 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

  • 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 and seeFile 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