CodeceptJS v2.2.0 Release Notes

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