diff options
Diffstat (limited to 'ecomp-portal-FE/e2e/main/main.po.js')
-rw-r--r-- | ecomp-portal-FE/e2e/main/main.po.js | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/ecomp-portal-FE/e2e/main/main.po.js b/ecomp-portal-FE/e2e/main/main.po.js new file mode 100644 index 00000000..6718608c --- /dev/null +++ b/ecomp-portal-FE/e2e/main/main.po.js @@ -0,0 +1,15 @@ +/** + * 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.heroEl = element(by.css('.hero-unit')); + this.h1El = this.heroEl.element(by.css('h1')); + this.imgEl = this.heroEl.element(by.css('img')); +}; + +module.exports = new MainPage(); + |