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

codeceptjs

Package Overview
Dependencies
Maintainers
1
Versions
241
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

codeceptjs - npm Package Compare versions

Comparing version 0.4.6 to 0.4.7

8

CHANGELOG.md

@@ -0,4 +1,10 @@

## 0.4.7
* Improved docs for `BeforeSuite`; fixed its usage with `restart: false` option by @APshenkin.
* Added `Nightmare` to list of available helpers on `init`.
* [Nightmare] Removed double `resizeWindow` implementation.
## 0.4.6
* Added `BeforeSuite` and `AfterSuite` hooks to scenario by @APshenkin. See [updated documentation](http://codecept.io/basics/#beforeSuite)
* Added `BeforeSuite` and `AfterSuite` hooks to scenario by @APshenkin. See [updated documentation](http://codecept.io/basics/#beforesuite)

@@ -5,0 +11,0 @@ ## 0.4.5

2

lib/command/init.js

@@ -23,3 +23,3 @@ 'use strict';

let helpers = ['WebDriverIO', 'Protractor', 'SeleniumWebdriver','FileSystem'];
let helpers = ['WebDriverIO', 'Protractor', 'SeleniumWebdriver', 'Nightmare','FileSystem'];
let translations = Object.keys(require('../../translations'));

@@ -26,0 +26,0 @@ let noTranslation = 'English (no localization)';

@@ -446,12 +446,2 @@ 'use strict';

/**
* {{> ../webapi/resizeWindow }}
*/
resizeWindow(width, height) {
if (width === 'maximize') {
throw new Error('Not supported in Nightmare, use exact width and height');
}
return this.browser.viewport(width, height);
}
/**
* {{> ../webapi/checkOption }}

@@ -458,0 +448,0 @@ */

@@ -27,13 +27,2 @@ /**

suite.timeout(0);
suite.beforeAll('codeceptjs.beforeSuite', function(done) {
recorder.start();
event.dispatcher.emit(event.suite.before, suite);
recorder.add(() => done());
});
suite.afterAll('codeceptjs.afterSuite', function(done) {
recorder.start();
event.dispatcher.emit(event.suite.after, suite);
recorder.add(() => done());
});

@@ -40,0 +29,0 @@ suite.on('pre-require', function (context, file, mocha) {

{
"name": "codeceptjs",
"version": "0.4.6",
"version": "0.4.7",
"description": "Modern Era Aceptance Testing Framework for NodeJS",

@@ -5,0 +5,0 @@ "homepage": "http://codecept.io",

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