Matteo Scandolo | d3b57a1 | 2017-04-20 14:33:04 -0700 | [diff] [blame] | 1 | module.exports = new function(){ |
2 | |||||
3 | const body = element(by.css('body')); | ||||
4 | |||||
5 | this.pressKey = (key) => { | ||||
6 | body.sendKeys(key); | ||||
7 | }; | ||||
8 | |||||
9 | this.sidePanel = element(by.css('xos-side-panel > section')); | ||||
10 | this.searchField = element(by.model('vm.query')); | ||||
11 | }; |