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

amaze-tdd

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

amaze-tdd - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

webdrivers/chromedriver.exe

1

amaze.js

@@ -27,3 +27,2 @@ #!/usr/bin/env node

if (server.listen(4444)) {
console.log('... Good!');
console.log('... Running tests...');

@@ -30,0 +29,0 @@ console.log('');

{
"name": "amaze-tdd",
"version": "0.0.3",
"version": "0.0.4",
"description": "A package for conducting functional front-end tests.",

@@ -8,2 +8,3 @@ "dependencies": {

"wdio-mocha-framework": "^0.4.3",
"wdio-phantomjs-service": "^0.1.0",
"wdio-spec-reporter": "0.0.3",

@@ -10,0 +11,0 @@ "webdriverio": "^4.2.16"

@@ -11,3 +11,3 @@ # Amaze test-driven development

## Install
## TLDR; Install

@@ -56,1 +56,15 @@ `npm install -g amaze-tdd`

You should run this in a separate Terminal instance.
### "Can't find Python executable 'python'..."
You need to either update or install Python for your system. See [this post on StackExchange](http://stackoverflow.com/questions/15126050/running-python-on-windows-for-node-js-dependencies#15126180) for more information.
## In-depth install (also known as Windows)
There are a few additional steps necessary to get this running in Windows. I'll detail those below:
* Ensure you have the [Java Runtime Environment](http://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html) installed on your computer
* In your Advanced System Settings, click "Environment Variables", then PATH, then the Edit button
* Add the full directory to your Java install (usually C:\Program Files\Java\jre-[version]\bin\Java)
* Assuming you've already cloned this repository, add another environment variable to your PATH that points to the location of `webdrivers\geckodriver.exe` found in this repo. Feel free to move them to a more static place on your machine if you wish.
* Start the Selenium server and run the tests using the above directions

@@ -17,3 +17,3 @@ var chai = require('chai'),

it ('can find the search box', function() {
browser.isVisible('#lst-ib', function(searchBox) {
browser.isVisible('input[name="q"]', function(searchBox) {
expect(searchBox).to.be.true;

@@ -31,5 +31,6 @@ });

it ('can perform a search', function() {
browser.setValue('#lst-ib', 'Deque accessibility');
browser.setValue('input[name="q"]', 'Deque accessibility');
browser.pause(2000);
browser.getTitle(function(title) {
console.log(title);
expect(title).to.have.string('Deque accessibility - Google Search');

@@ -36,0 +37,0 @@ });

@@ -11,4 +11,12 @@ exports.config = {

capabilities: [{
browserName: 'firefox' // firefox, chrome, phantomjs
browserName: 'phantomjs', // firefox, chrome, phantomjs
javascriptEnabled: true,
acceptSslCerts: true,
marionette: true
}],
services: ['phantomjs'],
phantomjsOpts: {
webdriverLogfile: 'phantomjs.log',
ignoreSslErrors: true
},
sync: true,

@@ -15,0 +23,0 @@ logLevel: 'silent', // silent, verbose, command, data, result, error

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