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

Diff

Changelog

Source

2.6.5

  • Added test.skipped event to run-workers, fixing allure reports with skipped tests in workers #2391. Fix #2387 by @koushikmohan1996
  • [Playwright] Fixed calling waitFor* methods with custom locators #2314. Fix #2389 by @Georgegriff
davert
published 2.6.4 •

Changelog

Source

2.6.4

  • [Playwright] Playwright 1.0 support by @Georgegriff.
davert
published 3.0.0-beta.2 •

davert
published 3.0.0-beta.1 •

davert
published 2.6.3 •

Changelog

Source

2.6.3

  • [stepByStepReport plugin] Fixed when using plugin with BeforeSuite. Fixes #2337 by @mirao
  • [allure plugin] Fixed reporting of tests skipped by failure in before hook. Refer to #2349 & #2354. Fix by @koushikmohan1996
alex_vorobey
published 3.0.0-beta.0 •

davert
published 2.6.2 •

Changelog

Source

2.6.2

  • [WebDriver][Puppeteer] Added forceClick method to emulate click event instead of using native events.
  • [Playwright] Updated to 0.14
  • [Puppeteer] Updated to Puppeteer v3.0
  • [wdio] Fixed undefined output directory for wdio plugns. Fix By @PeterNgTr
  • [Playwright] Introduced handleDownloads method to download file. Please note, this method has slightly different API than the same one in Puppeteer.
  • [allure] Fixed undefined output directory for allure plugin on using custom runner. Fix by @charliepradeep
  • [WebDriver] Fixed waitForEnabled fix for webdriver 6. Fix by @dsharapkou
  • Workers: Fixed negative failure result if use scenario with the same names. Fix by @Vorobeyko
  • [MockRequest] Updated documentation to match new helper version
  • Fixed: skipped tests are not reported if a suite failed in before. Refer #2349 & #2354. Fix by @koushikmohan1996
davert
published 2.6.1 •

Changelog

Source

2.6.1

  • [screenshotOnFail plugin] Fixed saving screenshot of active session.
  • [screenshotOnFail plugin] Fix issue #2301 when having the flag uniqueScreenshotNames=true results in undefined in screenshot file name by @PeterNgTr
  • [WebDriver] Fixed waitForElement not applying the optional second argument to override the default timeout in webdriverio 6. Fix by @Mooksc
  • [WebDriver] Updated waitUntil method which is used by all of the wait* functions. This updates the waitForElement by the same convention used to update waitForVisible and waitInUrl to be compatible with both WebDriverIO v5 & v6. See #2313 by @Mooksc
davert
published 2.6.0 •

Changelog

Source

2.6.0

  • [Playwright] Updated to Playwright 0.12 by @Georgegriff.

Upgrade playwright to ^0.12:

npm i playwright@^0.12 --save

Notable changes:

  • Fixed opening two browsers on start
  • executeScript - passed function now accepts only one argument. Pass in objects or arrays if you need multtple arguments:
// Old style, does not work anymore:
I.executeScript((x, y) => x + y, x, y);
// New style, passing an object:
I.executeScript(({x, y}) => x + y, {x, y});
  • click - automatically waits for element to become clickable (visible, not animated) and waits for navigation.
  • clickLink - deprecated
  • waitForClickable - deprecated
  • forceClick - added
  • Added support for custom locators. See #2277
  • Introduced device emulation:
    • globally via emulate config option
    • per session

[WebDriver] Updated to webdriverio v6 by @PeterNgTr.

Read release notes, then upgrade webdriverio to ^6.0:

npm i webdriverio@^6.0 --save

(webdriverio v5 support is deprecated and will be removed in CodeceptJS 3.0)

[WebDriver] Introduced Shadow DOM support by @gkushang

I.click({ shadow: ['my-app', 'recipe-hello', 'button'] });
  • Fixed parallel execution of run-workers for Gherkin scenarios by @koushikmohan1996
  • [MockRequest] Updated and moved to standalone package:
    • full support for record/replay mode for Puppeteer
    • added mockServer method to use flexible PollyJS API to define mocks
    • fixed stale browser screen in record mode.
  • [Playwright] Added support on for screenshotOnFail plugin by @amonkc
  • Gherkin improvement: setting different tags per examples. See #2208 by @acuper
  • [TestCafe] Updated click to take first visible element. Fixes #2226 by @theTainted
  • [Puppeteer][WebDriver] Updated waitForClickable method to check for element overlapping. See #2261 by @PiQx
  • [Puppeteer] Dropped puppeteer-firefox support, as Puppeteer supports Firefox natively.
  • [REST] Rrespect Content-Type header. See #2262 by @pmarshall-legacy
  • [allure plugin] Fixes BeforeSuite failures in allure reports. See #2248 by @Georgegriff
  • [WebDriver][Puppeteer][Playwright] A screenshot of for an active session is saved in multi-session mode. See #2253 by @ChexWarrior
  • Fixed --profile option by @pablopaul. Profile value to be passed into run-multiple and run-workers:
npx codecept run-workers 2 --profile firefox

Value is available at process.env.profile (previously process.profile). See #2302. Fixes #1968 #1315

__`Given`;
I.amOnPage('/profile')

__`When`;
I.click('Logout');

__`Then`;
I.see('You are logged out');
davert
published 2.5.0 •

Changelog

Source

2.5.0

Playwright is an alternative to Puppeteer which works very similarly to it but adds cross-browser support with Firefox and Webkit. Until v1.0 Playwright API is not stable but we introduce it to CodeceptJS so you could try it.

  • [Puppeteer] Fixed basic auth support when running in multiple sessions. See #2178 by @ian-bartholomew
  • [Puppeteer] Fixed waitForText when there is no body element on page (redirect). See #2181 by @Vorobeyko
  • [Selenoid plugin] Fixed overriding current capabilities by adding deepMerge. Fixes #2183 by @koushikmohan1996
  • Added types for Scenario.todo by @Vorobeyko
  • Added types for Mocha by @Vorobeyko. Fixed typing conflicts with Jest
  • [FileSystem] Added methods by @nitschSB
    • waitForFile
    • seeFileContentsEqualReferenceFile
  • Added --colors option to run and run-multiple so you force colored output in dockerized environment. See #2189 by @mirao
  • [WebDriver] Added type command to enter value without focusing on a field. See #2198 by @xMutaGenx
  • Fixed codeceptjs gt command to respect config pattern for tests. See #2200 and #2204 by @matheo
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