New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

testarmada-magellan-nightwatch

Package Overview
Dependencies
Maintainers
4
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

testarmada-magellan-nightwatch - npm Package Compare versions

Comparing version 4.0.0 to 4.1.0

4

lib/base-test-class.js

@@ -38,2 +38,4 @@ // Base test class that should be used for all Magellan tests

// Note: This is for Magellan versions earlier than 8 and will be ignored by
// magellan versions 8 and above.
process.send({

@@ -114,3 +116,3 @@ type: "worker-status",

emitStartedTest(client);
if (settings.isWorker === true) {

@@ -117,0 +119,0 @@ this.handleExternalMessage = function (message) {

@@ -7,2 +7,9 @@ var settings = require("./settings");

settings.sessionId = client.sessionId;
// Send this info to a parent magellan process (if present) as soon as we have it
// NOTE: this is only supported by magellans version 8 and higher.
process.send({
type: "selenium-session-info",
sessionId: client.sessionId
});
}

@@ -21,3 +28,3 @@ });

// 2. Replace the step with an alterate function that first quickly grabs
// the selenium session id from the client object, and then calls the
// the selenium session id from the client object, and then calls the
// original test function.

@@ -24,0 +31,0 @@ //

{
"name": "testarmada-magellan-nightwatch",
"version": "4.0.0",
"version": "4.1.0",
"description": "Nightwatch.js adapter for Magellan",

@@ -16,63 +16,47 @@ "main": "index.js",

},
"contributors": [
{
"name": "Dave Cadwallader",
"url": "https://github.com/geekdave"
},
{
"name": "Maciej Adwent",
"url": "https://github.com/Maciek416"
},
{
"name": "Yamei Wang",
"url": "https://github.com/ywang0"
},
{
"name": "Jory Graham",
"url": "https://github.com/jory"
},
{
"name": "Patrick Kettner",
"url": "https://github.com/patrickkettner"
},
{
"name": "Gwen Roberts",
"url": "https://github.com/gwenr"
},
{
"name": "Per Nilsson",
"url": "https://github.com/per-nilsson"
},
{
"name": "Sergey Chebykin",
"url": "https://github.com/dr-nafanya"
},
{
"name": "Aaron Pollack",
"url": "https://github.com/lolpack"
},
{
"name": "Lei Zhu",
"url": "https://github.com/archlichking"
},
{
"name": "Rob Gerstenberger",
"url": "https://github.com/rgerstenberger"
},
{
"name": "Abha Gupta",
"url": "https://github.com/abhagupta"
},
{
"name": "Mukund Goel",
"url": "https://github.com/mukundgoel"
},
{
"name": "Kimberly Lightholder",
"url": "https://github.com/1un4r"
}
],
"contributors": [{
"name": "Dave Cadwallader",
"url": "https://github.com/geekdave"
}, {
"name": "Maciej Adwent",
"url": "https://github.com/Maciek416"
}, {
"name": "Yamei Wang",
"url": "https://github.com/ywang0"
}, {
"name": "Jory Graham",
"url": "https://github.com/jory"
}, {
"name": "Patrick Kettner",
"url": "https://github.com/patrickkettner"
}, {
"name": "Gwen Roberts",
"url": "https://github.com/gwenr"
}, {
"name": "Per Nilsson",
"url": "https://github.com/per-nilsson"
}, {
"name": "Sergey Chebykin",
"url": "https://github.com/dr-nafanya"
}, {
"name": "Aaron Pollack",
"url": "https://github.com/lolpack"
}, {
"name": "Lei Zhu",
"url": "https://github.com/archlichking"
}, {
"name": "Rob Gerstenberger",
"url": "https://github.com/rgerstenberger"
}, {
"name": "Abha Gupta",
"url": "https://github.com/abhagupta"
}, {
"name": "Mukund Goel",
"url": "https://github.com/mukundgoel"
}, {
"name": "Kimberly Lightholder",
"url": "https://github.com/1un4r"
}],
"license": "MIT",
"dependencies": {
"chromedriver": "2.16.0",
"cli-color": "0.3.2",

@@ -82,7 +66,5 @@ "lodash": "^3.10.0",

"jsonfile": "2.0.0",
"phantomjs": "1.9.18",
"q": "1.0.1",
"request": "2.40.0",
"sanitize-filename": "1.3.0",
"selenium-server": "2.49.0",
"yargs": "1.3.2"

@@ -92,4 +74,7 @@ },

"nightwatch": "^0.8.9",
"testarmada-magellan": "4.0.0"
"testarmada-magellan": "4.0.0",
"phantomjs": "1.9.18",
"chromedriver": "2.16.0",
"selenium-server": "2.49.0"
}
}

@@ -55,2 +55,3 @@ # magellan-nightwatch

<td>clickAutomationEl("mybutton")</td>
<td>Needs "data-automation-id" attribute in the clickable HTML element's DOM for this command to work</td>
</tr>

@@ -162,25 +163,13 @@ <tr>

Some Nightwatch commands and assertions are supported out of the box.
All Nightwatch commands and assertions are supported out of the box.
#### Supported Nightwatch Commands
* `clearValue()`
* `pause()`
* `attributeEquals()`
* `saveScreenshot()`
* `setCookie()`
* `url()`
* `getText()`
* `getValue()`
* Please refer to [Nightwatch Commands API](http://nightwatchjs.org/api#commands) for a list of supported Nightwatch commands
#### Supported Nightwatch Assertions
* `cssClassPresent()`
* `cssProperty()`
* `elementNotPresent()`
* `elementPresent()`
* `urlContains()`
* `visible()`
* Please refer to [Nightwatch Assertions API](http://nightwatchjs.org/api#assertions) for a list of supported Nightwatch assertions
(From node):
#### Supported Node Assertions

@@ -196,3 +185,3 @@ * `fail`

* `doesNotThrow`
* `ifErro`
* `ifError`

@@ -237,3 +226,3 @@ #### Custom Commands

**Note: pay special attention to the version number for the selenium server above, currently at version `2.46.0`***
**Note: pay special attention to the version number for the selenium server above, currently at version `2.49.0`***

@@ -289,2 +278,2 @@ Set up `phantomjs` path:

* Updated `selenium-standalone` to `2.49.0`
* Updated `selenium-standalone` to `2.49.0`

Sorry, the diff of this file is not supported yet

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