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