import { FtrService } from '../ftr_provider_context' ; export class LogstashPageObject extends FtrService { private readonly common = this . ctx . getPageObject ( 'common' ) ; private readonly pipelineList = this . ctx . getService ( 'pipelineList' ) ; private readonly pipelineEditor = this . ctx . getService ( 'pipelineEditor' ) ; async gotoPipelineList ( ) { await this . common . navigateToApp ( 'logstashPipelines' ) ; await this . pipelineList . assertExists ( ) ; } async gotoNewPipelineEditor ( ) { await this . gotoPipelineList ( ) ; await this . pipelineList . clickAdd ( ) ; await this . pipelineEditor . assertExists ( ) ; } }