Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions test/functional/apps/dashboard_elements/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
/*
* 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 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.
*/

import { FtrProviderContext } from '../../ftr_provider_context';

export default function ({ getService, loadTestFile }: FtrProviderContext) {
const browser = getService('browser');
const log = getService('log');
const esArchiver = getService('esArchiver');

describe('dashboard elements', () => {
before(async () => {
log.debug('Starting before method');
await browser.setWindowSize(1280, 800);
await esArchiver.load('test/functional/fixtures/es_archiver/empty_kibana');

await esArchiver.loadIfNeeded('test/functional/fixtures/es_archiver/logstash_functional');
await esArchiver.loadIfNeeded('test/functional/fixtures/es_archiver/long_window_logstash');
});

describe('dashboard elements ciGroup10', function () {
this.tags('ciGroup10');

loadTestFile(require.resolve('./input_control_vis'));
loadTestFile(require.resolve('./_markdown_vis'));
});
});
}
2 changes: 0 additions & 2 deletions test/functional/apps/visualize/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ export default function ({ getService, loadTestFile }: FtrProviderContext) {
loadTestFile(require.resolve('./_experimental_vis'));
loadTestFile(require.resolve('./_gauge_chart'));
loadTestFile(require.resolve('./_heatmap_chart'));
loadTestFile(require.resolve('./input_control_vis'));
loadTestFile(require.resolve('./_histogram_request_start'));
loadTestFile(require.resolve('./_metric_chart'));
});
Expand All @@ -79,7 +78,6 @@ export default function ({ getService, loadTestFile }: FtrProviderContext) {
this.tags('ciGroup4');

loadTestFile(require.resolve('./_pie_chart'));
loadTestFile(require.resolve('./_markdown_vis'));
loadTestFile(require.resolve('./_shared_item'));
loadTestFile(require.resolve('./_lab_mode'));
loadTestFile(require.resolve('./_linked_saved_searches'));
Expand Down
1 change: 1 addition & 0 deletions test/functional/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ export default async function ({ readConfigFile }) {
require.resolve('./apps/console'),
require.resolve('./apps/context'),
require.resolve('./apps/dashboard'),
require.resolve('./apps/dashboard_elements'),
require.resolve('./apps/discover'),
require.resolve('./apps/getting_started'),
require.resolve('./apps/home'),
Expand Down