Skip to content

Commit

Permalink
address Lee's review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
bhavyarm committed Feb 19, 2021
1 parent e874478 commit 9785467
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,13 @@

import expect from '@kbn/expect';
import path from 'path';
import { keyBy } from 'lodash';
import { FtrProviderContext } from '../../ftr_provider_context';

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

Expand All @@ -32,10 +33,9 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
after(async () => {
await esArchiver.unload('logstash_functional');
await esArchiver.unload('getting_started/shakespeare');
await esArchiver.load('empty_kibana');
});

it('should import 7.8 saved objects', async function () {
it('should be able to import 7.12 saved objects into 8.0.0', async function () {
await retry.tryForTime(10000, async () => {
const existingSavedObjects = await testSubjects.getVisibleText('exportAllObjects');
// Kibana always has 1 advanced setting as a saved object
Expand Down

0 comments on commit 9785467

Please sign in to comment.