2021-01-22 19:52:47 +01:00
|
|
|
/*
|
|
|
|
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
|
|
|
* or more contributor license agreements. Licensed under the Elastic License
|
2021-02-04 03:12:39 +01:00
|
|
|
* 2.0 and the Server Side Public License, v 1; you may not use this file except
|
|
|
|
* in compliance with, at your election, the Elastic License 2.0 or the Server
|
|
|
|
* Side Public License, v 1.
|
2021-01-22 19:52:47 +01:00
|
|
|
*/
|
|
|
|
|
|
|
|
import { PluginFunctionalProviderContext } from 'test/plugin_functional/services';
|
|
|
|
|
|
|
|
// eslint-disable-next-line import/no-default-export
|
|
|
|
export default function ({
|
|
|
|
getService,
|
|
|
|
getPageObjects,
|
|
|
|
loadTestFile,
|
|
|
|
}: PluginFunctionalProviderContext) {
|
|
|
|
const browser = getService('browser');
|
|
|
|
const PageObjects = getPageObjects(['common', 'header']);
|
|
|
|
|
|
|
|
describe('expressions explorer', function () {
|
2021-03-15 14:47:14 +01:00
|
|
|
this.tags('ciGroup2');
|
2021-01-22 19:52:47 +01:00
|
|
|
before(async () => {
|
|
|
|
await browser.setWindowSize(1300, 900);
|
|
|
|
await PageObjects.common.navigateToApp('expressionsExplorer');
|
|
|
|
});
|
|
|
|
|
|
|
|
loadTestFile(require.resolve('./expressions'));
|
|
|
|
});
|
|
|
|
}
|