CodeceptJS v3.3.5 Release Notes

  • ๐Ÿ›ฉ๏ธ Features

    • Added TypeScript option for installation via codeceptjs init to initialize new projects in TS (by @PeterNgTr and @davertmik)
    • Include node-ts automatically when using TypeScript setup
    • โž• Added TS types for CodeceptJS config. Update codecept.conf.js to get intellisense when writing config file:
    // inside codecept.conf.js
    /** @type {CodeceptJS.MainConfig} */
    exports.config = {
      //...
    }
    
    • โž• Added TS types for helpers config:
      • Playwright
      • Puppeteer
      • WebDriver
      • REST

    ๐Ÿ›  ๐Ÿ› Bugfixes

    • ๐Ÿ›  [Puppeteer] Fixed support for Puppeteer > 14.4 by @PeterNgTr
    • ๐Ÿ‘€ Don't report files as existing when non-directory is in path by @jonathanperret. See #3374
    • ๐Ÿ›  Fixed TS type for secret function by @PeterNgTr
    • ๐Ÿ›  Fixed wrong order for async MetaSteps by @dwentland24. See #3393
    • ๐Ÿ›  Fixed same param substitution in BDD step. See #3385 by @snehabhandge

    ๐Ÿ“š ๐Ÿ“– Documentation