summaryrefslogtreecommitdiffstats
path: root/js/tests/e2e/main.js
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2014-05-15 13:36:51 +0200
committerBernhard Posselt <dev@bernhard-posselt.com>2014-05-15 13:36:51 +0200
commitdcbe710cf2bfad7d722e7232958a1c35e2991334 (patch)
tree7269eeb282d448c9f41e2231af0928fc2cd90371 /js/tests/e2e/main.js
parentd6625bc44524500e11c9072c6ba294112cd52d43 (diff)
put login into prepare function
Diffstat (limited to 'js/tests/e2e/main.js')
-rw-r--r--js/tests/e2e/main.js6
1 files changed, 1 insertions, 5 deletions
diff --git a/js/tests/e2e/main.js b/js/tests/e2e/main.js
index 40ab73c38..444e43e5d 100644
--- a/js/tests/e2e/main.js
+++ b/js/tests/e2e/main.js
@@ -7,18 +7,14 @@
* @author Bernhard Posselt <dev@bernhard-posselt.com>
* @copyright Bernhard Posselt 2012, 2014
*/
-
-var auth = require('./include/auth.js');
-
describe('news page', function () {
'use strict';
beforeEach(function () {
- auth.login(browser);
+ browser.get('http://localhost/owncloud/index.php/apps/news/');
});
it('should go to the news page', function () {
- browser.get('http://localhost/owncloud/index.php/apps/news/');
browser.getTitle().then(function (title) {
expect(title).toBe('News - ownCloud');
});