Skip to content

Instantly share code, notes, and snippets.



Forked from aaronromeo/
Last active Feb 22, 2018
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.
jdk_switcher home oraclejdk8
# /usr/lib/jvm/java-8-oracle
jdk_switcher use oraclejdk8
nvm install 7.4.0
npm install -g typescript
npm install -g ionic
npm install -g protractor
npm install

Configure Test Pipelines (1 / 1used)

webdriver-manager update
nohup bash -c "webdriver-manager start 2>&1 &" && sleep 9
nohup bash -c "ionic serve --address localhost -b 2>&1 &" && sleep 9
protractor protractor.conf.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment