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.5.0 to 0.5.1

translations/pl-PL.js

8

CHANGELOG.md

@@ -0,1 +1,9 @@

## 0.5.1
* [Polish translation](http://codecept.io/translation/#polish) added by @limes.
* Update process exit code so that mocha saves reports before exit by @romanovma.
* [Nightmare] fixed `getAttributeFrom` for custom attributes by @robrkerr
* [Nightmare] Fixed *UnhandledPromiseRejectionWarning error* when selecting the dropdown using `selectOption` by @robrkerr. [See PR](https://github.com/Codeception/CodeceptJS/pull/408).
* [Protractor] fixed `pressKey` method by @romanovma
## 0.5.0

@@ -2,0 +10,0 @@

15

lib/helper/Nightmare.js

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

*
* Requires `nightmare` and `nigthmare-upload` packages to be installed.
* Requires `nightmare` and `nightmare-upload` packages to be installed.
*

@@ -232,3 +232,3 @@ * ### Configuration

* This method return promise with array of IDs of found elements.
* Actual elements can be accessed inside `evaulate` by using `codeceptjs.fetchElement()`
* Actual elements can be accessed inside `evaluate` by using `codeceptjs.fetchElement()`
* client-side function:

@@ -239,4 +239,4 @@ *

*
* let browser = this.helpers['Nigthmare'].browser;
* let value = this.helpers['Nigthmare']._locate({name: 'password'}).then(function(els) {
* let browser = this.helpers['Nightmare'].browser;
* let value = this.helpers['Nightmare']._locate({name: 'password'}).then(function(els) {
* return browser.evaluate(function(el) {

@@ -639,3 +639,3 @@ * return codeceptjs.fetchElement(el).value;

return this.browser.evaluate(function (el, attr) {
return codeceptjs.fetchElement(el)[attr];
return codeceptjs.fetchElement(el).getAttribute(attr);
}, el, attr);

@@ -658,3 +658,8 @@ });

var current = null;
var items = [];
while (current = found.iterateNext()) {
items.push(current);
}
for (var i = 0; i < items.length; items++) {
current = items[i];
current.selected = true;

@@ -661,0 +666,0 @@ var event = document.createEvent('HTMLEvents');

@@ -90,2 +90,10 @@ 'use strict';

this.isProtractor5 = !require('protractor').wrapDriver;
try {
// get selenium-webdriver
this.webdriver = requireg('selenium-webdriver');
} catch (e) {
// maybe it is installed as protractor dependency?
this.webdriver = requireg('protractor/node_modules/selenium-webdriver');
}
}

@@ -92,0 +100,0 @@

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

event.dispatcher.on(event.all.result, function () {
if (failedTests.length) process.exit(1);
if (failedTests.length) {
process.on('exit', function () {
process.exit(1); // exit with non-zero status if there were failures
});
}
});
{
"name": "codeceptjs",
"version": "0.5.0",
"version": "0.5.1",
"description": "Modern Era Aceptance Testing Framework for NodeJS",

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

exports['pt-BR'] = require('./pt-BR');
exports['ru-RU'] = require('./ru-RU');
exports['it-IT'] = require('./it-IT');
exports['it-IT'] = require('./it-IT');
exports['pl-PL'] = require('./pl-PL');
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