server/tests/acceptance
2014-08-29 19:56:54 +02:00
..
screenshots add bunch of acceptance tests 2014-08-29 12:26:30 +02:00
tests fix typo 2014-08-29 16:40:10 +02:00
.gitignore gitignore for node modules 2014-08-29 12:36:23 +02:00
package.json bump version of protractor in package.json 2014-08-29 19:56:54 +02:00
protractor_conf.js add bunch of acceptance tests 2014-08-29 12:26:30 +02:00
readme.md Update readme.md 2014-08-29 17:20:28 +02:00

ownCloud Acceptance Tests

Setup

Install node.js and run the following to install the dependencies

npm install

Install the webdriver

./node_modules/protractor/bin/webdriver-manager update

Install as global commands ( optional )

npm install -g protractor

Run

Run the tests with protractor

protractor protractor.conf.js

Run only a specific test suite or spec

protractor protractor.conf.js --suite install
protractor protractor_conf.js --params.baseUrl="http://127.0.0.1/ownClouds/test-community-7.0.1/" --suite=login
protractor protractor_conf.js --params.baseUrl="http://127.0.0.1/ownClouds/test-community-7.0.1/" --specs tests/login/newUser_spec.js