New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

codeceptjs

Package Overview
Dependencies
Maintainers
1
Versions
255
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

codeceptjs - npm Package Versions

1
26

3.3.5

Diff

Changelog

Source

3.3.5

🛩️ Features

  • Added TypeScript types for CodeceptJS config.

Update codecept.conf.js to get intellisense when writing config file:

/**@type {CodeceptJS.MainConfig}**/
exports.config = {
  //...
}
  • Added TS types for helpers config:
    • Playwright
    • Puppeteer
    • WebDriver
    • REST
  • Added TypeScript option for installation via codeceptjs init to initialize new projects in TS (by @PeterNgTr and @davertmik)
  • Includes node-ts automatically when using TypeScript setup.

🐛 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

davert
published 3.3.5-beta.6 •

davert
published 3.3.5-beta.5 •

davert
published 3.3.5-beta.4 •

davert
published 3.3.5-beta.3 •

davert
published 3.3.5-beta.2 •

davert
published 3.3.5-beta.1 •

davert
published 3.3.4 •

Changelog

Source

3.3.4

  • Added support for masking fields in objects via secret function:
I.sendPostRequest('/auth', secret({ name: 'jon', password: '123456' }, 'password'));
  • Added a guide about using of secret function
  • [Appium] Use touchClick when interacting with elements in iOS. See #3317 by @mikk150
  • [Playwright] Added cdpConnection option to connect over CDP. See #3309 by @Hmihaly
  • [customLocator plugin] Allowed to specify multiple attributes for custom locator. Thanks to @aruiz-caritsqa
plugins: {
 customLocator: {
   enabled: true,
   prefix: '$',
   attribute: ['data-qa', 'data-test'],
 }
}
  • [retryTo plugin] Fixed #3147 using pollInterval option. See #3351 by @cyonkee
  • [Playwright] Fixed grabbing of browser console messages and window resize in new tab. Thanks to @mirao
  • [REST] Added prettyPrintJson option to print JSON in nice way by @PeterNgTr
  • [JSONResponse] Updated response validation to iterate over array items if response is array. Thanks to @PeterNgTr
// response.data == [
//   { user: { name: 'jon', email: 'jon@doe.com' } },
//   { user: { name: 'matt', email: 'matt@doe.com' } },
//]

I.seeResponseContainsKeys(['user']);
I.seeResponseContainsJson({ user: { email: 'jon@doe.com' } });
I.seeResponseContainsJson({ user: { email: 'matt@doe.com' } });
I.dontSeeResponseContainsJson({ user: 2 });
davert
published 3.3.3 •

Changelog

Source

3.3.3

  • Fixed DataCloneError: () => could not be cloned when running data tests in run-workers
  • 🇺🇦 Added #StandWithUkraine notice to CLI
davert
published 3.3.2 •

Changelog

Source

3.3.2

  • [REST] Fixed override of headers/token in haveRequestHeaders() and amBearerAuthenticated(). See #3304 by @mirao
  • Reverted typings change introduced in #3245. More details on this
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc