Skip to content

3.6.6

Latest
Compare
Choose a tag to compare
@kobenguyent kobenguyent released this 17 Sep 14:54
· 38 commits to 3.x since this release
63b1d50

What's Changed

3.6.6

❤️ Thanks all to those who contributed to make this release! ❤️

🛩️ Features

Zero-configuration when paired with other helpers like REST, Playwright:

// inside codecept.conf.js
{
  helpers: {
    Playwright: {...},
    SoftExpectHelper: {},
  }
}
// in scenario
I.softExpectEqual('a', 'b')
I.flushSoftAssertions() // Throws an error if any soft assertions have failed. The error message contains all the accumulated failures.
  • feat(cli): print failed hooks (#4476) - by @kobenguyent
    • run command
      Screenshot 2024-09-02 at 15 25 20

    • run workers command
      Screenshot 2024-09-02 at 15 24 53

🐛 Bug Fixes

// fix the validation of httpAgent config. we could now pass ca, instead of key/cert.
{
  helpers: {
    REST: {
      endpoint: 'http://site.com/api',
      prettyPrintJson: true,
      httpAgent: {
         ca: fs.readFileSync(__dirname + '/path/to/ca.pem'),
         rejectUnauthorized: false,
         keepAlive: true
      }
    }
  }
}

📖 Documentation

New Contributors

Full Changelog: 3.6.5...3.6.6