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

2.0.1

Diff

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
davert
published 1.4.3 •

Changelog

Source

1.4.3

  • Groups renamed to Tags for compatibility with BDD layer
  • Test and suite objects to contain tags property which can be accessed from internal API
  • Fixed adding tags for Scenario Outline in BDD
  • Added tag() method to ScenarioConfig and FeatureConfig:
Scenario('update user profile', () => {
  // test goes here
}).tag('@slow');
  • Fixed attaching Allure screenshot on exception. Fix by @DevinWatson
  • Improved type definitions for custom steps. By @Akxe
  • Fixed setting multiple.parallel.chunks as environment variable in config. See #1238 by @ngadiyak
davert
published 1.4.2 •

Changelog

Source

1.4.2

  • Fixed setting config for plugins (inclunding setting outputDir for allure) by @jplegoff
davert
published 1.4.1 •

Changelog

Source

1.4.1

  • Added plugins option to run-multiple
  • Minor output fixes
  • Added Type Definition for Helper class by @Akxe
  • Fixed extracing devault extension in generators by @Akxe
davert
published 1.4.0 •

Changelog

Source

1.4.0

  • Allure Reporter Integration. Full inegration with Allure Server. Get nicely looking UI for tests,including steps, nested steps, and screenshots. Thanks Natarajan Krishnamurthy @krish for sponsoring this feature.
  • Plugins API introduced. Create custom plugins for CodeceptJS by hooking into event dispatcher, and using promise recorder.
  • Official CodeceptJS plugins added:
    • stepByStepReport - creates nicely looking report to see test execution as a slideshow. Use this plugin to debug tests in headless environment without recording a video.
    • allure - Allure reporter added as plugin.
    • screenshotOnFail - saves screenshot on fail. Replaces similar functionality from helpers.
    • retryFailedStep - to rerun each failed step.
  • [Puppeteer] Fix executeAsyncScript unexpected token by @jonathanz
  • Added override option to run-multiple command by @svarlet
davert
published 1.3.3 •

Changelog

Source

1.3.3

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