diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-05-21 23:43:28 +0200 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-05-21 23:43:28 +0200 |
commit | 0fa67552247b2d29a6ca438c2605b8db2bbdbab7 (patch) | |
tree | 8109135e2fc141a324e8f21c66243ee4277b3b7c /js/tests/e2e | |
parent | d3a774b2bd79654360a3ef12618102abf85a2ce3 (diff) |
es6 all the things
Diffstat (limited to 'js/tests/e2e')
-rw-r--r-- | js/tests/e2e/main.js | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/js/tests/e2e/main.js b/js/tests/e2e/main.js index b76110c65..247deb47b 100644 --- a/js/tests/e2e/main.js +++ b/js/tests/e2e/main.js @@ -23,12 +23,9 @@ describe('news page', function () { it('should show the first run page', function () { - var firstRun; - - - firstRun = browser.findElement(By.id('first-run')); + let firstRun = browser.findElement(By.id('first-run')); //firstRun.findElement(By.tagName('h1')).then(function (greeting) { - // expect(greeting.getText()).toBe('Welcome to the ownCloud News app!'); + //expect(greeting.getText()).toBe('Welcome to the ownCloud News app!'); //}); expect(firstRun.isDisplayed()).toBe(true); |