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

cucumber-hub

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cucumber-hub

Run Cucumber/WebdriverIO tests targeting hub.arcgis.com

  • 1.2.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

Webdriver.io-based Cucumber tests

Installation

  • These are high-level instructions. For more details see the wiki at https://github.com/ArcGIS/opendata-ui/wiki/Cucumber-end-to-end-tests .

Dependencies

  • Ensure that you are running Node v6.3.0 or later. If you are using nvm, this is already set in the project file .nvmrc.
  • Change directory to the opendata-integration-tests directory and run npm install to get all the dependencies downloaded/built/installed.
  • Install Java JDK 8.
  • Install Chrome.

Configuration

  • Copy the file opendata-integration-tests/credentials.js.example to opendata-integration-tests/credentials.js and supply correct credentials. Credentials are documented at https://github.com/ArcGIS/composer/wiki/DevExt-and-QAExt .
  • Add one of the lines DEBUG=true or DEBUG=false to the file opendata-integration-tests/.env depending on whether you need to be able to debug for development or investigation. Alternatively, you can set DEBUG in your shell environment (like export DEBUG=true; export NODE_ENV=qa; npm run all) or specify it on the command line (like DEBUG=true NODE_ENV=qa npm run all).

Running the tests

  • The environment variable NODE_ENV must be one of "dev", "qa", or "prod". You can do this by specifying it on the command line, or setting it in your shell session like export NODE_ENV=qa, as shown in the examples above.
  • Be in the opendata-integration-tests directory or one of its subdirectories.
  • Run npm run all (ensure that DEBUG and NODE_ENV environment variables have appropriate values. For example, DEBUG=false, NODE_ENV=qa npm run all).

Keywords

FAQs

Package last updated on 06 Jun 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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