Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kbnarchiver migration for x-pack/test/functional/es_archives/dashboard/drilldowns #134859

Merged
merged 8 commits into from
Jun 22, 2022
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
7 changes: 5 additions & 2 deletions x-pack/test/accessibility/apps/dashboard_edit_panel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {

describe('Dashboard Edit Panel Accessibility', () => {
before(async () => {
await esArchiver.load('x-pack/test/functional/es_archives/dashboard/drilldowns');
await kibanaServer.savedObjects.cleanStandardList();
await kibanaServer.importExport.load(
'x-pack/test/functional/fixtures/kbn_archiver/dashboard_drilldowns/drilldowns'
);
await esArchiver.loadIfNeeded('x-pack/test/functional/es_archives/logstash_functional');
await kibanaServer.uiSettings.replace({ defaultIndex: 'logstash-*' });
await PageObjects.common.navigateToApp('dashboard');
Expand All @@ -31,7 +34,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
});

after(async () => {
await esArchiver.unload('x-pack/test/functional/es_archives/dashboard/drilldowns');
await kibanaServer.savedObjects.cleanStandardList();
});

it('can open menu', async () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,15 @@ export default function ({ loadTestFile, getService }: FtrProviderContext) {

before(async () => {
await esArchiver.loadIfNeeded('x-pack/test/functional/es_archives/logstash_functional');
bhavyarm marked this conversation as resolved.
Show resolved Hide resolved
await esArchiver.load('x-pack/test/functional/es_archives/dashboard/drilldowns');
await kibanaServer.savedObjects.cleanStandardList();
await kibanaServer.importExport.load(
'x-pack/test/functional/fixtures/kbn_archiver/dashboard_drilldowns/drilldowns'
);
await kibanaServer.uiSettings.replace({ defaultIndex: 'logstash-*' });
});

after(async () => {
await esArchiver.unload('x-pack/test/functional/es_archives/dashboard/drilldowns');
await kibanaServer.savedObjects.cleanStandardList();
});

loadTestFile(require.resolve('./dashboard_to_dashboard_drilldown'));
Expand Down
8 changes: 6 additions & 2 deletions x-pack/test/functional/apps/discover/value_suggestions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,20 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {

describe('value suggestions', function describeIndexTests() {
before(async function () {
await kibanaServer.savedObjects.cleanStandardList();
await esArchiver.loadIfNeeded('x-pack/test/functional/es_archives/logstash_functional');
await esArchiver.load('x-pack/test/functional/es_archives/dashboard/drilldowns');

await kibanaServer.importExport.load(
'x-pack/test/functional/fixtures/kbn_archiver/dashboard_drilldowns/drilldowns'
);
await kibanaServer.uiSettings.update({
'doc_table:legacy': true,
});
});

after(async () => {
await esArchiver.unload('x-pack/test/functional/es_archives/dashboard/drilldowns');
await kibanaServer.uiSettings.unset('doc_table:legacy');
bhavyarm marked this conversation as resolved.
Show resolved Hide resolved
await kibanaServer.savedObjects.cleanStandardList();
});

describe('useTimeRange enabled', () => {
Expand Down
263 changes: 0 additions & 263 deletions x-pack/test/functional/es_archives/dashboard/drilldowns/data.json

This file was deleted.

205 changes: 0 additions & 205 deletions x-pack/test/functional/es_archives/dashboard/drilldowns/mappings.json

This file was deleted.

Loading