CodeceptJS v3.3.1 Release Notes

  • ๐Ÿ›ฉ๏ธ Features:

    • โž• Add option to avoid duplicate gherkin step definitions (#3257) - @raywiis
    • โž• Added step.* for run-workers #3272. Thanks to @abhimanyupandian
    • ๐Ÿ›  Fixed loading tests for codecept run using glob patterns. By @jayudey-wf
    npx codeceptjs run test-dir/*"
    
    • [Playwright] Possible breaking change. By default timeout is changed to 5000ms. The value set in 3.3.0 was too low. Please set timeout explicitly to not depend on release values.
    • [Playwright] Added for color scheme option by @PeterNgTr
     helpers: {
      Playwright : {
        url: "http://localhost",
        colorScheme: "dark",
      }
     }
    

    ๐Ÿ›  ๐Ÿ› Bugfixes:

    • ๐Ÿ›  [Playwright] Fixed Cannot read property 'video' of undefined
    • ๐Ÿ›  Fixed haveRequestHeaders() and amBearerAuthenticated() of REST helper (#3260) - @mirao
    • ๐Ÿ›  Fixed: allure attachment fails if screenshot failed #3298 by @ruudvanderweijde
    • ๐Ÿ›  Fixed #3105 using autoLogin() plugin with TypeScript. Fix #3290 by @PeterNgTr
    • [Playwright] Added extra params for click and dragAndDrop to type definitions by @mirao

    ๐Ÿ“š ๐Ÿ“– Documentation

    • Improving the typings in many places
    • Improving the return type of helpers for TS users (#3245) - @nlespiaucq