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

[Archive Migration] saved_objects_management #133683

Merged
merged 1 commit into from
Jun 7, 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
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { FtrProviderContext } from '../../ftr_provider_context';
const delay = (ms: number) => new Promise((resolve) => setTimeout(resolve, ms));

export default function ({ getPageObjects, getService }: FtrProviderContext) {
const esArchiver = getService('esArchiver');
const kibanaServer = getService('kibanaServer');
const testSubjects = getService('testSubjects');
const PageObjects = getPageObjects(['common', 'settings', 'savedObjects']);
const find = getService('find');
Expand All @@ -33,18 +33,15 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) {
return bools.every((currBool) => currBool === true);
};

// FLAKY: https://github.com/elastic/kibana/issues/118288
describe.skip('saved objects inspect page', () => {
describe('saved objects inspect page', () => {
beforeEach(async () => {
await esArchiver.load(
'test/functional/fixtures/es_archiver/saved_objects_management/edit_saved_object'
await kibanaServer.importExport.load(
'test/functional/fixtures/kbn_archiver/saved_objects_management/edit_saved_object'
);
});

afterEach(async () => {
await esArchiver.unload(
'test/functional/fixtures/es_archiver/saved_objects_management/edit_saved_object'
);
await kibanaServer.savedObjects.cleanStandardList();
});

it('allows to view the saved object', async () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,18 @@ import expect from '@kbn/expect';
import { FtrProviderContext } from '../../ftr_provider_context';

export default function ({ getPageObjects, getService }: FtrProviderContext) {
const esArchiver = getService('esArchiver');
const kibanaServer = getService('kibanaServer');
const PageObjects = getPageObjects(['common', 'settings', 'savedObjects']);

describe('saved objects relationships flyout', () => {
beforeEach(async () => {
await esArchiver.load(
'test/functional/fixtures/es_archiver/saved_objects_management/show_relationships'
await kibanaServer.importExport.load(
'test/functional/fixtures/kbn_archiver/saved_objects_management/show_relationships'
);
});

afterEach(async () => {
await esArchiver.unload(
'test/functional/fixtures/es_archiver/saved_objects_management/show_relationships'
);
await kibanaServer.savedObjects.cleanStandardList();
});

it('displays the invalid references', async () => {
Expand Down

This file was deleted.

Loading