CodeceptJS v2.2.1 Release Notes

Release Date: 2019-07-28 // almost 5 years ago
    • [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.