diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-05-15 13:36:51 +0200 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-05-15 13:36:51 +0200 |
commit | dcbe710cf2bfad7d722e7232958a1c35e2991334 (patch) | |
tree | 7269eeb282d448c9f41e2231af0928fc2cd90371 /js/tests/e2e/main.js | |
parent | d6625bc44524500e11c9072c6ba294112cd52d43 (diff) |
put login into prepare function
Diffstat (limited to 'js/tests/e2e/main.js')
-rw-r--r-- | js/tests/e2e/main.js | 6 |
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'); }); |