kibana/x-pack/test/functional/page_objects/grok_debugger_page.js
2018-04-24 13:48:10 -07:00

17 lines
601 B
JavaScript

/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License;
* you may not use this file except in compliance with the Elastic License.
*/
export function GrokDebuggerPageProvider({ getPageObjects, getService }) {
const PageObjects = getPageObjects(['common']);
const grokDebugger = getService('grokDebugger');
return new class LogstashPage {
async gotoGrokDebugger() {
await PageObjects.common.navigateToApp('grokDebugger');
await grokDebugger.assertExists();
}
};
}