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

testarmada-nightwatch-extra

Package Overview
Dependencies
Maintainers
1
Versions
124
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

testarmada-nightwatch-extra - npm Package Compare versions

Comparing version 1.1.7 to 1.1.8

4

lib/assertions/elValueContains.js

@@ -37,4 +37,4 @@ // Assert whether a selector contains a given text

if (expected === undefined
|| actual.indexOf(expected) < 0
|| !(new RegExp(expected).exec(actual))) {
|| (actual.indexOf(expected) < 0
&& !(new RegExp(expected).exec(actual)))) {
this.fail(actual, expected, this.message, this.failureDetails);

@@ -41,0 +41,0 @@ } else {

@@ -10,2 +10,8 @@ var fs = require("fs");

/**
* android emulator doesn't allow js injection with comments. so add comments
* here if comments are needed for `executeSizzlejs` function
*
*/
executeSizzlejs: function (sel, injectedJsCommand, sizzleSource) {

@@ -12,0 +18,0 @@ var result = {

{
"name": "testarmada-nightwatch-extra",
"version": "1.1.7",
"version": "1.1.8",
"description": "extra useful nightwatch command and assertion",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -27,4 +27,2 @@ var Test = require("../lib/base-test-class");

.setElValue("[name='q']", "hahaha")
// .clearValue("[name='q']")
// .setMaskedElValue("[name='q']", "hahaha")
.clickEl(".lsb")

@@ -31,0 +29,0 @@ .assert.elContainsText("#resultStats", "About");

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