Skip to content

Commit

Permalink
Merge branch 'master' into move-kbn-cli-dev-mode-into-bazel
Browse files Browse the repository at this point in the history
  • Loading branch information
kibanamachine authored Jun 24, 2021
2 parents 7d8f295 + d5a760c commit bee492c
Show file tree
Hide file tree
Showing 77 changed files with 1,615 additions and 2,698 deletions.
10 changes: 6 additions & 4 deletions test/functional/apps/context/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,18 @@ export default function ({ getService, getPageObjects, loadTestFile }) {
describe('context app', function () {
this.tags('ciGroup1');

before(async function () {
before(async () => {
await browser.setWindowSize(1200, 800);
await esArchiver.loadIfNeeded('test/functional/fixtures/es_archiver/logstash_functional');
await esArchiver.load('test/functional/fixtures/es_archiver/visualize');
await kibanaServer.importExport.load('test/functional/fixtures/kbn_archiver/visualize.json');
await kibanaServer.uiSettings.replace({ defaultIndex: 'logstash-*' });
await PageObjects.common.navigateToApp('discover');
});

after(function unloadMakelogs() {
return esArchiver.unload('test/functional/fixtures/es_archiver/logstash_functional');
after(async () => {
await kibanaServer.importExport.unload(
'test/functional/fixtures/kbn_archiver/visualize.json'
);
});

loadTestFile(require.resolve('./_context_navigation'));
Expand Down
9 changes: 7 additions & 2 deletions test/functional/apps/discover/_source_filters.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
defaultIndex: 'logstash-*',
});

log.debug('load kibana index with default index pattern');
await esArchiver.load('test/functional/fixtures/es_archiver/visualize_source-filters');
await kibanaServer.importExport.load('test/functional/fixtures/kbn_archiver/visualize.json');

// and load a set of makelogs data
await esArchiver.loadIfNeeded('test/functional/fixtures/es_archiver/logstash_functional');
Expand All @@ -43,6 +42,12 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
await PageObjects.common.sleep(1000);
});

after(async () => {
await kibanaServer.importExport.unload(
'test/functional/fixtures/kbn_archiver/visualize.json'
);
});

it('should not get the field referer', async function () {
const fieldNames = await PageObjects.discover.getAllFieldNames();
expect(fieldNames).to.not.contain('referer');
Expand Down
388 changes: 0 additions & 388 deletions test/functional/fixtures/es_archiver/visualize/data.json

This file was deleted.

Loading

0 comments on commit bee492c

Please sign in to comment.