Skip to content

Instantly share code, notes, and snippets.

@ayush
Created February 25, 2015 02:13
Show Gist options
  • Save ayush/c64eea21389dc3f702f3 to your computer and use it in GitHub Desktop.
Save ayush/c64eea21389dc3f702f3 to your computer and use it in GitHub Desktop.
# Install cucumber & protractor
echo \\nInstalling Components...
npm install -g cucumber protractor
# Download and install selenium webdrivers
echo \\nInstalling selenium webdrivers...
webdriver-manager update
# TODO: Run Server
echo \\nStarting server...
# Wait for server to come up
echo \\nWaiting for server to come up ...
sleep 12
# Run tests
echo \\nSetting up tests...
cd tests
npm install
echo \\nRunning tests...
protractor ./protractor.conf.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment