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

Comparing version 0.4.4 to 0.4.5

5

CHANGELOG.md

@@ -0,1 +1,6 @@

## 0.4.5
* Fixed running `codecept def` command by @jankaspar
* [Protractor][SeleniumWebdriver] Added support for special keys in `pressKey` method. Fixes #216
## 0.4.4

@@ -2,0 +7,0 @@

6

lib/command/definitions.js

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

let suppportI = container.support('I');
let translations = container.getTranslations();
let translations = container.translation();
let methods = [];

@@ -49,3 +49,3 @@ let actions = [];

methodsOfObject(helper).forEach((action) => {
let actionAlias = container.getTranslations() ? container.getTranslations().actionAliasFor(action) : action;
let actionAlias = container.translation() ? container.translation().actionAliasFor(action) : action;
if (!actions[actionAlias]) {

@@ -71,3 +71,3 @@ let params = getParamNames(helper[action]);

let definitionsTemplate = template.replace('{{methods}}', methods.join(''));
definitionsTemplate = definitionsTemplate.replace(/\{\{I\}\}/g, container.getTranslations().I);
definitionsTemplate = definitionsTemplate.replace(/\{\{I\}\}/g, container.translation().I);

@@ -74,0 +74,0 @@ fs.writeFileSync(path.join(testsPath, 'steps.d.ts'), definitionsTemplate);

@@ -267,4 +267,6 @@ 'use strict';

}
if (key == 'Enter') {
key = this.webdriver.Key.ENTER;
// guess special key in Selenium Webdriver list
if (this.webdriver.Key[key.toUpperCase()]) {
key = this.webdriver.Key[key.toUpperCase()];
}

@@ -271,0 +273,0 @@

{
"name": "codeceptjs",
"version": "0.4.4",
"version": "0.4.5",
"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