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

codeceptjs

Package Overview
Dependencies
Maintainers
4
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
23

2.4.3

Diff

Changelog

Source

2.4.3

  • Hotfix for interactive pause
davert
published 2.4.2 •

Changelog

Source

2.4.2

  • Interactive pause improvements by @koushikmohan1996
    • allows using in page objects and variables: pause({ loginPage, a })
    • enables custom commands inside pause with => prefix: => loginPage.open()
  • Selenoid plugin added by by @koushikmohan1996
    • uses Selenoid to launch browsers inside Docker containers
    • automatically records videos and attaches them to allure reports
    • can delete videos for successful tests
    • can automatically pull in and start Selenoid containers
    • works with WebDriver helper
  • Avoid failiure report on successful retry in worker by @koushikmohan1996
  • Added translation ability to Scenario, Feature and other context methods by @koushikmohan1996
  • allurePlugin: Added say comments to allure reports by @PeterNgTr.
  • Fixed no custom output folder created when executed with run-worker. Fix by @PeterNgTr
  • [Puppeteer] Fixed error description for context element not found. See #2065. Fix by @PeterNgTr
  • [WebDriver] Fixed waitForClickable to wait for exact number of seconds by @mirao. Resolves #2166
  • Fixed setting compilerOptions in jsconfig.json file on init by @PeterNgTr
  • [Filesystem] Added method by @nitschSB
    • seeFileContentsEqualReferenceFile
    • waitForFile
davert
published 2.4.1 •

Changelog

Source

2.4.1

  • [Hotfix] - Add missing lib that prevents codeceptjs from initializing.
davert
published 2.4.0 •

Changelog

Source

2.4.0

  • Improved setup wizard with npx codecept init:
    • enabled retryFailedStep plugin for new setups.
    • enabled @codeceptjs/configure to toggle headless/window mode via env variable
    • creates a new test on init
    • removed question on "steps file", create it by default.
  • Added pauseOnFail plugin. Sponsored by Paul Vincent Beigang and his book "Practical End 2 End Testing with CodeceptJS".
  • Added run-rerun command to run tests multiple times to detect and fix flaky tests. By @Ilrilan and @Vorobeyko.
  • Added Scenario.todo() to declare tests as pending. See #2100 by @Vorobeyko
  • Added support for absolute path for output dir. See #2049 by @elukoyanov
  • Fixed error in npx codecept init caused by calling console.print. See #2071 by @Atinux.
  • [Filesystem] Methods added by @aefluke:
    • seeFileNameMatching
    • grabFileNames
  • [Puppeteer] Fixed grabbing attributes with hyphen by @Holorium
  • [TestCafe] Fixed grabAttributeFrom method by @elukoyanov
  • [MockRequest] Added support for Polly config options by @ecrmnn
  • [TestCafe] Fixes exiting with zero code on failure. Fixed #2090 with #2106 by @koushikmohan1996
  • [WebDriver][Puppeteer] Added basicAuth support via config. Example: basicAuth: {username: 'username', password: 'password'}. See #1962 by @PeterNgTr
  • [WebDriver][Appium] Added scrollIntoView by @pablopaul
  • Fixed #2118: No error stack trace for syntax error by @senthillkumar
  • Added parse() method to data table inside Cucumber tests. Use it to obtain rows and hashes for test data. See #2082 by @Sraime
davert
published 2.3.6 •

Changelog

Source

2.3.6

  • Create better Typescript definition file through JSDoc. By @lemnis
  • run-workers now can use glob pattern. By @Ilrilan
// Example:
exports.config = {
  tests: '{./workers/base_test.workers.js,./workers/test_grep.workers.js}',
}
  • Added new command npx codeceptjs info which print information about your environment and CodeceptJS configs. By @jamesgeorge007
  • Fixed some typos in documantation. By @pablopaul @atomicpages @EricTendian
  • Added PULL_REQUEST template.
  • [Puppeteer][WebDriver] Added waitForClickable for waiting clickable element on page.
  • [TestCafe] Added support for remote connection. By @jvdieten
  • [Puppeteer] Fixed waitForText XPath context now works correctly. By @Heavik
  • [TestCafe] Fixed clearField clear field now awaits TestCafe's promise. By @orihomie
  • [Puppeteer] Fixed fails when executing localStorage on services pages. See #2026
  • Fixed empty tags in test name. See #2038
davert
published 2.3.5 •

Changelog

Source

2.3.5

  • Set "parse-function" dependency to "5.2.11" to avoid further installation errors.
davert
published 2.3.4 •

Changelog

Source

2.3.4

  • Fixed installation error "Cannot find module '@babel/runtime/helpers/interopRequireDefault'". The issue came from parse-function package. Fixed by @pablopaul.
  • [Puppeteer] Fixed switching to iframe without an ID by @johnyb. See #1974
  • Added --profile option to run-workers by @orihomie
  • Added a tag definition to FeatureConfig and ScenarioConfig by @sseliverstov
davert
published 2.3.3 •

Changelog

Source

2.3.3

// when data-test-id is a special test attribute
// enable and configure plugin to replace this
I.click({ css: '[data-test-id=register_button]');
// with this
I.click('$register_button');
  • [Puppeteer][WebDriver] pressKey improvements by @martomo: Changed pressKey method to resolve issues and extend functionality.
    • Did not properly recognize 'Meta' (or 'Command') as modifier key.
    • Right modifier keys did not work in WebDriver using JsonWireProtocol.
    • 'Shift' + 'key' combination would not reflect actual keyboard behavior.
    • Respect sequence with multiple modifier keys passed to pressKey.
    • Added support to automatic change operation modifier key based on operating system.
  • [Puppeteer][WebDriver] Added pressKeyUp and pressKeyDown to press and release modifier keys like Control or Shift. By @martomo.
  • [Puppeteer][WebDriver] Added grabElementBoundingRect by @PeterNgTr.
  • [Puppeteer] Fixed speed degradation introduced in #1306 with accessibility locators support. See #1953.
  • Added Config.addHook to add a function that will update configuration on load.
  • Started @codeceptjs/configure package with a collection of common configuration patterns.
  • [TestCafe] port's management removed (left on TestCafe itself) by @orihomie. Fixes #1934.
  • [REST] Headers are no more declared as singleton variable. Fixes #1959
  • Updated Docker image to include run tests in workers with NUMBER_OF_WORKERS env variable. By @PeterNgTr.
davert
published 2.3.2 •

Changelog

Source

2.3.2

  • [Puppeteer] Fixed Puppeteer 1.20 support by @davertmik
  • Fixed run-workers to run with complex configs. See #1887 by @nitschSB
  • Added --suites option to run-workers to split suites by workers (tests of the same suite goes to teh same worker). Thanks @nitschSB.
  • Added a guide on Email Testing.
  • [retryFailedStepPlugin] Improved to ignore wait* steps and others. Also added option to ignore this plugin per test bases. See updated documentation. By @davertmik
  • Fixed using PageObjects as classes by @Vorobeyko. See #1896
  • [WebDriver] Fixed opening more than one tab. See #1875 by @jplegoff. Fixes #1874
  • Fixed #1891 when I.retry() affected retries of next steps. By @davertmik
davert
published 2.3.1 •

Changelog

Source

2.3.1

  • [MockRequest] Polly helper was renamed to MockRequest.
  • [MockRequest][WebDriver] Mocking requests is now available in WebDriver. Thanks @radhey1851
  • [Puppeteer] Ensure configured user agent and/or window size is applied to all pages. See #1862 by @martomo
  • Improve handling of xpath locators with round brackets by @nitschSB. See #1870
  • Use WebDriver capabilities config in wdio plugin. #1869 by @quekshuy
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