Skip to content

Instantly share code, notes, and snippets.

@aaronromeo

aaronromeo/setup.md

Last active Mar 29, 2017
Embed
What would you like to do?
Setting up Protractor tests for Ionic on CodeShip

Under Test Settings

'Select your technology to prepopulate basic commands' as Node.js

Setup Commands

# By default we use the Node.js version set in your package.json or the latest
# version from the 0.10 release
#
# You can use nvm to install any Node.js (or io.js) version you require.
# nvm install 4.0
nvm install 0.10
npm install
# Install grunt-cli for running your tests or other tasks
# npm install -g grunt-cli
npm install -g ionic
npm install -g protractor
npm install -g cordova
npm install bower
bower install
webdriver-manager update
# Allow the ionic server to spin up
nohup `ionic serve --address localhost -b 2>&1` &

Configure Test Pipelines (1 / 1used)

protractor test/protractor.config.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment