import { WebComponent , Browser , Page , findBy , elementIsVisible } from '../lib' ; export class ShowIdeaPage extends Page { constructor ( browser ) { super ( browser ) ; } @ findBy ( '.idea-header .header' ) public Title : WebComponent ; @ findBy ( 'div.description' ) public Description : WebComponent ; @ findBy ( '.support-counter .value' ) public SupportCounter : WebComponent ; public loadCondition ( ) { return elementIsVisible ( ( ) => this . Title ) ; } }