import { browser , by , element } from 'protractor' ; export class ToolbarSearchPage { async getPage ( ) { await browser . get ( '#/toolbar-search' ) ; } left = element ( by . id ( 'searchLeft' ) ) ; leftInput = this . left . $ ( '[uxToolbarSearchField]' ) ; leftButton = this . left . $ ( '[uxToolbarSearchButton]' ) ; leftClear = this . left . $ ( '.ux-toolbar-search-clear' ) ; right = element ( by . id ( 'searchRight' ) ) ; rightInput = this . right . $ ( '[uxToolbarSearchField]' ) ; rightButton = this . right . $ ( '[uxToolbarSearchButton]' ) ; rightClear = this . right . $ ( '.ux-toolbar-search-clear' ) ; searchedFor = element ( by . id ( 'searchedFor' ) ) ; alwaysExpandedBtn = element ( by . id ( 'always-expanded-btn' ) ) ; }