From 5066bde36178cf071e959d580ba250c39bc29be6 Mon Sep 17 00:00:00 2001 From: Leonardo Merlin Date: Mon, 24 Aug 2015 11:51:53 -0300 Subject: [PATCH] Remove old files --- e2e/main.po.js | 15 --------------- e2e/main.spec.js | 21 --------------------- 2 files changed, 0 insertions(+), 36 deletions(-) delete mode 100644 e2e/main.po.js delete mode 100644 e2e/main.spec.js diff --git a/e2e/main.po.js b/e2e/main.po.js deleted file mode 100644 index 0f0428c..0000000 --- a/e2e/main.po.js +++ /dev/null @@ -1,15 +0,0 @@ -/** - * This file uses the Page Object pattern to define the main page for tests - * https://docs.google.com/presentation/d/1B6manhG0zEXkC-H-tPo2vwU06JhL8w9-XCF9oehXzAQ - */ - -'use strict'; - -var MainPage = function() { - this.jumbEl = element(by.css('.jumbotron')); - this.h1El = this.jumbEl.element(by.css('h1')); - this.imgEl = this.jumbEl.element(by.css('img')); - this.thumbnailEls = element(by.css('body')).all(by.repeater('awesomeThing in main.awesomeThings')); -}; - -module.exports = new MainPage(); diff --git a/e2e/main.spec.js b/e2e/main.spec.js deleted file mode 100644 index ef2e5c1..0000000 --- a/e2e/main.spec.js +++ /dev/null @@ -1,21 +0,0 @@ -'use strict'; - -describe('The main view', function () { - var page; - - beforeEach(function () { - browser.get('/index.html'); - page = require('./main.po'); - }); - - it('should include jumbotron with correct data', function() { - expect(page.h1El.getText()).toBe('\'Allo, \'Allo!'); - expect(page.imgEl.getAttribute('src')).toMatch(/assets\/images\/yeoman.png$/); - expect(page.imgEl.getAttribute('alt')).toBe('I\'m Yeoman'); - }); - - it('should list more than 5 awesome things', function () { - expect(page.thumbnailEls.count()).toBeGreaterThan(5); - }); - -}); -- libgit2 0.21.2