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

Diff

Changelog

Source

2.1.3

  • Fixed autoLogin plugin to inject login function
  • Fixed using toString() in DataTablewhen it is defined by @tsuemura
davert
published 2.1.2 •

Changelog

Source

2.1.2

  • Fixed inject to load objects recursively.
  • Fixed TypeScript definitions for locators by @LukoyanovE
  • EXPERIMENTAL [WebDriver] ReactJS locators support with webdriverio v5.8+:
// locating React element by name, prop, state
I.click({ react: 'component-name', props: {}, state: {} });
I.seeElement({ react: 'component-name', props: {}, state: {} });
davert
published 2.1.1 •

Changelog

Source

2.1.1

  • Do not retry within and session calls inside retryFailedStep plugin. Fix by @tsuemura
davert
published 2.1.0 •

Changelog

Source

2.1.0

  • Added global inject() function to require actor and page objects using dependency injection. Recommended to use in page objects, step definition files, support objects:
// old way
const I = actor();
const myPage = require('../page/myPage');

// new way
const { I, myPage } = inject();
  • Added global secret function to fill in sensitive data. By @RohanHart:
I.fillField('password', secret('123456'));
  • wdioPlugin Added a plugin to support webdriverio services including selenium-standalone, sauce, browserstack, etc. Sponsored by @GSasu
  • [Appium] Fixed swipe* methods by @PeterNgTr
  • BDD Gherkin Improvements:
    • Implemented run-multiple for feature files. Sponsored by @GSasu
    • Added --features and --tests options to run-multiple. Sponsored by @GSasu
    • Implemented Before and After hooks in step definitions
  • Fixed running tests by absolute path. By @batalov.
  • Enabled the adding screenshot to failed test for moch-junit-reporter by @PeterNgTr.
  • [Puppeteer] Implemented uncheckOption and fixed behavior of checkOption by @aml2610
  • [WebDriver] Fixed seeTextEquals on empty strings by @PeterNgTr
  • [Puppeteer] Fixed launch with browserWSEndpoint config by @ngadiyak.
  • [Puppeteer] Fixed switching back to main window in multi-session mode by @davertmik.
  • [autoLoginPlugin] Fixed using async functions for auto login by @nitschSB

This release was partly sponsored by @GSasu. Thanks for the support! Do you want to improve this project? [Learn more about sponsorin CodeceptJS

davert
published 2.0.8 •

Changelog

Source

2.0.8

  • [Puppeteer] Added downloadFile action by @PeterNgTr.

Use it with FileSystem helper to test availability of a file:

  const fileName = await I.downloadFile('a.file-link');
  I.amInPath('output');
  I.seeFile(fileName);

Actions amInPath and seeFile are taken from FileSystem helper

  • [Puppeteer] Fixed autoLogin plugin with Puppeteer by @davertmik
  • [WebDriver] seeInField should throw error if element has no value attrubite. By @PeterNgTr
  • [WebDriver] Fixed seeTextEquals passes for any string if element is empty by @PeterNgTr.
  • [WebDriver] Internal refctoring to use el.isDisplayed to match latest webdriverio implementation. Thanks to @LukoyanovE
  • [allure plugin] Add ability enable screenshotDiff plugin by @Vorobeyko
  • [Appium] Fixed locator.stringify call by @LukoyanovE
davert
published 2.0.7 •

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