Skip to content

Commit

Permalink
CR fixups, add clean call.
Browse files Browse the repository at this point in the history
  • Loading branch information
wayneseymour committed Aug 30, 2021
1 parent ed0075c commit 56af529
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions test/functional/apps/discover/_runtime_fields_editor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,17 +30,18 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
await fieldEditor.save();
};

describe('discover integration with runtime fields editor', function describeIndexTests() {
describe('tre suite', function describeIndexTests() {
before(async function () {
await kibanaServer.importExport.load('test/functional/fixtures/kbn_archiver/discover.json');
await esArchiver.loadIfNeeded('test/functional/fixtures/es_archiver/logstash_functional');
await kibanaServer.importExport.load('test/functional/fixtures/kbn_archiver/discover');
await kibanaServer.uiSettings.replace(defaultSettings);
await PageObjects.timePicker.setDefaultAbsoluteRangeViaUiSettings();
await PageObjects.common.navigateToApp('discover');
});

after(async () => {
await kibanaServer.importExport.unload('test/functional/fixtures/kbn_archiver/discover.json');
await kibanaServer.importExport.unload('test/functional/fixtures/kbn_archiver/discover');
await kibanaServer.savedObjects.clean({ types: ['saved-search'] });
});

it('allows adding custom label to existing fields', async function () {
Expand Down

0 comments on commit 56af529

Please sign in to comment.