kibana/x-pack/test/functional/page_objects/grok_debugger_page.ts
Spencer bdafd27e19
[ts] migrate x-pack/test to composite ts project (#101441)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-06-08 12:54:05 -04:00

18 lines
632 B
TypeScript

/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0; you may not use this file except in compliance with the Elastic License
* 2.0.
*/
import { FtrService } from '../ftr_provider_context';
export class GrokDebuggerPageObject extends FtrService {
private readonly common = this.ctx.getPageObject('common');
private readonly grokDebugger = this.ctx.getService('grokDebugger');
async gotoGrokDebugger() {
await this.common.navigateToApp('grokDebugger');
await this.grokDebugger.assertExists();
}
}