Skip to content

Commit

Permalink
[Archive Migration] x-pack..discover/feature_controls/security
Browse files Browse the repository at this point in the history
Migrate x-pack..discover/feature_controls/security
  • Loading branch information
wayneseymour committed Jul 29, 2021
1 parent 5b7653b commit 14ebbc2
Show file tree
Hide file tree
Showing 4 changed files with 97 additions and 554 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 14ebbc2

Please sign in to comment.