summaryrefslogtreecommitdiffstats
path: root/tests/acceptance/readme.md
blob: 7fcc791da01b9049b3f26bfe4d05a4076acba7ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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
```