CodeceptJS v3.3.7 Release Notes

  • ๐Ÿ›ฉ๏ธ Features

    • Promise-based typings for TypeScript definitions in #3465 by @nlespiaucq. If you use TypeScript or use linters check how it may be useful to you.
    • ๐ŸŒ Translation improved to use custom vocabulary.
    • [Playwright] Added methods in #3398 by @mirao
      • restartBrowser - to restart a browser (with different config)
      • _createContextPage - to create a new browser context with a page from a helper
    • โž• Added Cucumber custom types for BDD in #3435 by @Likstern
    • โœ… Propose using JSONResponse helper when initializing project for API testing. #3455 by @PeterNgTr
    • ๐ŸŒ When translation enabled, generate tests using localized aliases. By @davertmik
    • [Appium] Added checkIfAppIsInstalled in #3507 by @PeterNgTr

    ๐Ÿ›  ๐Ÿ› Bugfixes

    • ๐Ÿ›  Fixed #3462 TypeError: Cannot read properties of undefined (reading 'setStatus') by @dwentland24 in #3438
    • ๐Ÿ›  Fixed creating steps file for TypeScript setup #3459 by @PeterNgTr
    • ๐Ÿ›  Fixed issue of after all event in run-rerun command after complete execution #3464 by @jain-neeeraj
    • ๐Ÿ‘€ [Playwright][WebDriver][Appium] Do not change waitForTimeout value on validation. See #3478 by @pmajewski24. Fixes #2589
    • ๐Ÿ‘€ [Playwright][WebDriver][Protractor][Puppeteer][TestCafe] Fixes Element "{null: undefined}" was not found and element ([object Object]) still not present messages when using object locators. See #3501 and #3502 by @pmajewski24
    • ๐Ÿ›  [Playwright] Improved file names when downloading file in #3449 by @PeterNgTr. Fixes #3412 and #3409
    • โž• Add default value to profile env variable. See #3443 by @dwentland24. Resolves #3339
    • [Playwright] Using system-native path separator when saving artifacts in #3460 by @PeterNgTr
    • [Playwright] Saving videos and traces from multiple sessions in #3505 by @davertmik
    • ๐Ÿ›  [Playwright] Fixed amOnPage to navigate to about:blank by @zaxoavoki in #3470 Fixes #2311
    • Various typing improvements by @AWolf81 @PeterNgTr @mirao

    ๐Ÿ“š ๐Ÿ“– Documentation

    • โšก๏ธ Updated Quickstart with detailed explanation of questions in init
    • โž• Added Translation guide
    • โšก๏ธ Updated TypeScript guide for promise-based typings
    • Reordered guides list on a website