Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

codeceptjs

Package Overview
Dependencies
Maintainers
1
Versions
235
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

codeceptjs - npm Package Versions

1
24

3.3.8-beta.1

Diff

davert
published 3.3.7 •

Changelog

Source

3.3.7

🛩️ 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
davert
published 3.3.7-beta.1 •

davert
published 3.3.6 •

Changelog

Source

3.3.6

  • run-rerun command was re-introduced by @dwentland24 in #3436. Use it to perform run multiple times and detect flaky tests
  • Enabled retryFailedStep by default in @codeceptjs/configure v 0.10. See https://github.com/codeceptjs/configure/pull/26
  • [Playwright] Fixed properties types "waitForNavigation" and "firefox" by @mirao in #3401
  • [REST] Changed "endpoint" to optional by @mirao in #3404
  • [REST] Use secret for form encoded string by @PeterNgTr:
const secretData = secret('name=john&password=123456');
const response = await I.sendPostRequest('/user', secretData);
  • [Playwright]Fixed docs related to fixed properties types "waitForNavigation" and "firefox" by @mirao in #3407
  • [Playwright]Fixed parameters of startActivity() by @mirao in #3408
  • Move semver to prod dependencies by @timja in #3413
  • check if browser is W3C instead of Android by @mikk150 in #3414
  • Pass service configs with options and caps as array for browsers… by @07souravkunda in #3418
  • fix for type of "webdriver.port" by @ngraf in #3421
  • fix for type of "webdriver.smartWait" by @pmajewski24 in #3426
  • fix(datatable): mask secret text by @PeterNgTr in #3432
  • fix(playwright) - video name and missing type by @PeterNgTr in #3430
  • fix for expected type of "bootstrap", "teardown", "bootstrapAll" and "teardownAll" by @ngraf in #3424
  • Improve generate pageobject gpo command to work with TypeScript by @PeterNgTr in #3411
  • Fixed dry-run to always return 0 code and exit
  • Added minimal version notice for NodeJS >= 12
  • fix(utils): remove . of test title to avoid confusion by @PeterNgTr in #3431
davert
published 3.3.5 •

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 •

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