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.0.7

Diff

Changelog

Source

2.0.7

  • [WebDriver][Protractor][Nightmare] rightClick method implemented (fixed) in a standard way. By @davertmik
  • [WebDriver] Updated WebDriver API calls in helper. By @PeterNgTr
  • [stepByStepReportPlugin] Added screenshotsForAllureReport config options to automatically attach screenshots to allure reports. By @PeterNgTr
  • [allurePlugin] Added addLabel method by @Vorobeyko
  • Locator Builder: fixed withChild and withDescendant to match deep nested siblings by @Vorobeyko.
davert
published 2.0.6 •

Changelog

Source

2.0.6

  • Introduced Custom Locator Strategies.
  • Added Visual Testing Guide by @puneet0191 and @MitkoTschimev.
  • [Puppeteer] puppeteerCoverage plugin added to collect code coverage in JS. By @dvillarama
  • Make override option in run-multiple to respect the generated overridden config by @kinyat
  • Fixed deep merge for container.append(). Introduced lodash.merge(). By @Vorobeyko
  • Fixed saving screenshot on Windows by
  • Fix errors on using interactive shell with Allure plugin by tsuemura
  • Fixed using dynamic injections with Scenario().injectDependencies by @tsemura
  • [WebDriver][Puppeteer][Nightmare][Protractor] Fixed url protocol detection for non-http urls by @LukoyanovE
  • [WebDriver] Enabled compatibility with stepByStepReport by @tsuemura
  • [WebDriver] Fixed grabHTMLFrom to return innerHTML value by @Holorium. Fixed compatibility with WebDriverIO.
  • [WebDriver] grabHTMLFrom to return one HTML vlaue for one element matched, array if multiple elements found by @davertmik.
  • [Nightmare] Added grabHTMLFrom by @davertmik
  • Fixed bootstrapAll and teardownAll launch with path as argument by @LukoyanovE
  • Fixed bootstrapAll and teardownAll calls from exported object by @LukoyanovE
  • [WebDriver] Added possibility to define conditional checks interval for waitUntil by @LukoyanovE
  • Fixed storing current data in data driven tests in a test object. By @Vorobeyko
  • [WebDriver] Fixed hostname config option overwrite when setting a cloud provider. By @LukoyanovE
  • [WebDriver] dragSlider method implemented by @DavertMik
  • [WebDrover] Fixed scrollTo to use new webdriverio API by @PeterNgTr
  • Added Japanese translation file by @tsemura
  • Added Locator.withDescendant() method to find an element which contains a descendant (child, grandchild) by @Vorobeyko
  • [WebDriver] Fixed configuring capabilities for Selenoid and IE by @Vorobeyko
  • [WebDriver] Restore original window size when taking full size screenshot by @tsuemura
  • Enabled throws(), fails(), retry(), timeout(), config() functions for data driven tests. By @jjm409
davert
published 2.0.4 •

Changelog

Source

2.0.4

  • [WebDriver][Protractor][Nightmare][Puppeteer] grabAttributeFrom returns an array when multiple elements matched. By @PeterNgTr
  • [autoLogin plugin] Fixed merging users config by @nealfennimore
  • [autoDelay plugin] Added WebDriver to list of supported helpers by @mattin4d
  • [Appium] Fixed using locators in waitForElement, waitForVisible, waitForInvisible. By @eduardofinotti
  • [allure plugin] Add tags to allure reports by @Vorobeyko
  • [allure plugin] Add skipped tests to allure reports by @Vorobeyko
  • Fixed Logged Test name | [object Object] when used Data().Scenario(). By @Vorobeyko
  • Fixed Data().only.Scenario() to run for all datasets. By @Vorobeyko
  • [WebDriver] attachFile to work with hidden elements. Fixed in #1460 by @tsuemura
davert
published 2.0.3 •

Changelog

Source

2.0.3

  • autoLogin plugin added. Allows to log in once and reuse browser session. When session expires - automatically logs in again. Can persist session between runs by saving cookies to file.
  • Fixed Maximum stack trace issue in retryFailedStep plugin.
  • Added locate() function into the interactive shell.
  • [WebDriver] Disabled smartWait for interactive shell.
  • [Appium] Updated methods to use for mobile locators
    • waitForElement
    • waitForVisible
    • waitForInvisible
  • Helper and page object generators no longer update config automatically. Please add your page objects and helpers manually.
davert
published 2.0.2 •

Changelog

Source

2.0.2

  • [Puppeteer] Improved handling of connection with remote browser using Puppeteer by @martomo
  • [WebDriver] Updated to webdriverio 5.2.2 by @martomo
  • Interactive pause improvements by @davertmik
    • Disable retryFailedStep plugin in in interactive mode
    • Removes Interface: parseInput while in interactive pause
  • [ApiDataFactory] Improvements
    • added fetchId config option to override id retrieval from payload
    • added onRequest config option to update request in realtime
    • added returnId config option to return ids of created items instead of items themvelves
    • added headers config option to override default headers.
    • added a new chapter into DataManagement
  • [REST] Added onRequest config option
davert
published 2.0.1 •

Changelog

Source

2.0.1

  • Fixed creating project with codecept init.
  • Fixed error while installing webdriverio@5.
  • Added code beautifier for generated configs.
  • [WebDriver] Updated to webdriverio 5.1.0
davert
published 2.0.0 •

Changelog

Source

2.0.0

  • [WebDriver] Breaking Change. Updated to webdriverio v5. New helper WebDriver helper introduced.

    • Upgrade plan:

      1. Install latest webdriverio
      npm install webdriverio@5 --save
      
      1. Replace WebDriverIO => WebDriver helper name in config.

      2. Read webdriverio changelog. If you were using webdriver API in your helpers, upgrade accordingly.

      3. We made WebDriver helper to be compatible with old API so no additional changes required.

      If you face issues using webdriverio v5 you can still use webdriverio 4.x and WebDriverIO helper. Make sure you have webdriverio: ^4.0 installed.

    • Known issues: attachFile doesn't work with proxy server.

  • [Appium] Breaking Change. Updated to use webdriverio v5 as well. See upgrade plan ↑

  • [REST] Breaking Change. Replaced unirest library with axios.

    • Upgrade plan:

      1. Refer to axios API.
      2. If you were using unirest requests/responses in your tests change them to axios format.
  • Breaking Change. Generators support in tests removed. Use async/await in your tests

  • Using codecept.conf.js as default configuration format

  • Fixed "enametoolong" error when saving screenshots for data driven tests by @PeterNgTr

  • Updated NodeJS to 10 in Docker image

  • [Pupeteer] Add support to use WSEndpoint. Allows to execute tests remotely. [See #1350] by @gabrielcaires (https://github.com/codeceptjs/CodeceptJS/pull/1350)

  • In interactive shell [Enter] goes to next step. Improvement by @PeterNgTr.

  • I.say accepts second parameter as color to print colorful comments. Improvement by @PeterNgTr.

I.say('This is red', 'red'); //red is used
I.say('This is blue', 'blue'); //blue is used
I.say('This is by default'); //cyan is used
  • Fixed allure reports for multi session testing by @PeterNgTr
  • Fixed allure reports for hooks by @PeterNgTr
davert
published 1.4.6 •

Changelog

Source

1.4.6

  • [Puppeteer] dragSlider action added by @PeterNgTr
  • [Puppeteer] Fixed opening browser in shell mode by @allenhwkim
  • [Puppeteer] Fixed making screenshot on additional sessions by @PeterNgTr. Fixes #1266
  • Added --invert option to run-multiple command by @LukoyanovE
  • Fixed steps in Allure reports by @PeterNgTr
  • Add option output to customize output directory in stepByStepReport plugin. By @fpsthirty
  • Changed type definition of PageObjects to get auto completion by @rhicu
  • Fixed steps output for async/arrow functions in CLI by @LukoyanovE. See #1329
davert
published 1.4.5 •

Changelog

Source

1.4.5

  • Add require param to main config. Allows to require Node modules before executing tests. By @LukoyanovE. For example:
    • Use ts-node/register to register TypeScript parser
    • Use should to register should-style assertions
"require": ["ts-node/register", "should"]
  • [WebDriverIO] Fix timeouts definition to be compatible with W3C drivers. By @LukoyanovE
  • Fixed: exception in Before block w/ Mocha causes test not to report failure. See #1292 by @PeterNgTr
  • Command run-parallel now accepts --override flag. Thanks to @ClemCB
  • Fixed Allure report with Before/BeforeSuite/After/AfterSuite steps. By @PeterNgTr
  • Added RUN_MULTIPLE env variable to Docker config. Allows to run tests in parallel inside a container. Thanks to @PeterNgTr
  • [Mochawesome] Fixed showing screenshot on failure. Fix by @PeterNgTr
  • Fixed running tests filtering by tag names defined via Scenario.tag()
davert
published 1.4.4 •

Changelog

Source

1.4.4

  • autoDelay plugin added. Adds tiny delay before and after an action so the page could react to actions performed.
  • [Puppeteer] improvements by @luismanuel001
    • click no longer waits for navigation
    • clickLink method added. Performs a click and waits for navigation.
  • Bootstrap scripts to be started only for run command and ignored on list, def, etc. Fix by @LukoyanovE
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