Skip to content

Commit

Permalink
[Archive Migration] x-pack..discover/feature_controls/security (#107156
Browse files Browse the repository at this point in the history
…) (#107508)

* [Archive Migration] x-pack..discover/feature_controls/security

Migrate x-pack..discover/feature_controls/security

* Drop fields stanza.

Signed-off-by: Tre' Seymour <[email protected]>

Co-authored-by: Kibana Machine <[email protected]>
# Conflicts:
#	x-pack/test/functional/es_archives/discover/feature_controls/security/mappings.json
  • Loading branch information
wayneseymour authored Aug 3, 2021
1 parent 9dfe5e4 commit 67268f1
Show file tree
Hide file tree
Showing 4 changed files with 96 additions and 556 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,16 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) {
const appsMenu = getService('appsMenu');
const queryBar = getService('queryBar');
const savedQueryManagementComponent = getService('savedQueryManagementComponent');
const kibanaServer = getService('kibanaServer');

async function setDiscoverTimeRange() {
await PageObjects.timePicker.setDefaultAbsoluteRange();
}

describe('discover feature controls security', () => {
before(async () => {
await esArchiver.load(
'x-pack/test/functional/es_archives/discover/feature_controls/security'
await kibanaServer.importExport.load(
'x-pack/test/functional/fixtures/kbn_archiver/discover/feature_controls/security'
);
await esArchiver.loadIfNeeded('x-pack/test/functional/es_archives/logstash_functional');

Expand All @@ -42,8 +43,8 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) {
});

after(async () => {
await esArchiver.unload(
'x-pack/test/functional/es_archives/discover/feature_controls/security'
await kibanaServer.importExport.unload(
'x-pack/test/functional/fixtures/kbn_archiver/discover/feature_controls/security'
);

// logout, so the other tests don't accidentally run as the custom users we're testing below
Expand Down

This file was deleted.

Loading

0 comments on commit 67268f1

Please sign in to comment.