# cucumber-hub

> Run Cucumber/WebdriverIO tests targeting hub.arcgis.com

Latest version **1.2.0** (published 2017-06-06) · Esri-only license · 0 weekly downloads

## Install

```sh
npm install cucumber-hub
pnpm add cucumber-hub
yarn add cucumber-hub
bun add cucumber-hub
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.2.0 |
| Published | 2017-06-06 |
| First published | 2017-06-06 |
| Weekly downloads | 0 |
| License | Esri-only |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >= 6.3.0 |
| Dependencies | 12 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Jeremy Schneider |
| Maintainers | mjuniper |
| Keywords | webdriverio, cucumber, test, selenium, hub |

## Links

- npm: https://www.npmjs.com/package/cucumber-hub
- Repository: https://github.com/ArcGIS/arcgis-open-data-integration
- Issues: https://esriarlington.tpondemand.com
- npm.io page: https://npm.io/package/cucumber-hub

## Dependencies (12)

- [chai](https://npm.io/package/chai.md) ~3.5.0
- [arcgis](https://npm.io/package/arcgis.md) ^1.0.1
- [dotenv](https://npm.io/package/dotenv.md) ^4.0.0
- [cucumber](https://npm.io/package/cucumber.md) ~1.3.1
- [config.json](https://npm.io/package/config.json.md) 0.0.4
- [webdriverio](https://npm.io/package/webdriverio.md) ~4.6.1
- [babel-register](https://npm.io/package/babel-register.md) ~6.24.0
- [wdio-spec-reporter](https://npm.io/package/wdio-spec-reporter.md) ~0.1.0
- [babel-preset-es2015](https://npm.io/package/babel-preset-es2015.md) ~6.24.0
- [wdio-phantomjs-service](https://npm.io/package/wdio-phantomjs-service.md) ~0.2.2
- [wdio-cucumber-framework](https://npm.io/package/wdio-cucumber-framework.md) ~0.2.15
- [wdio-selenium-standalone-service](https://npm.io/package/wdio-selenium-standalone-service.md) ~0.0.8

## Alternatives

- [duck](https://npm.io/package/duck.md) — 4.2M weekly downloads
- [ava](https://npm.io/package/ava.md) — 560.2K weekly downloads
- [storybook-addon-module-mock](https://npm.io/package/storybook-addon-module-mock.md) — 71.7K weekly downloads
- [@ethereum-waffle/mock-contract](https://npm.io/package/@ethereum-waffle/mock-contract.md) — 40.0K weekly downloads
- [aws-elasticsearch-connector](https://npm.io/package/aws-elasticsearch-connector.md) — 37.4K weekly downloads

## Recent versions

- 1.2.0 (latest) — 2017-06-06

## README

# 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`).

---
_Source: https://npm.io/package/cucumber-hub · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
