Skip to content

Commit

Permalink
[Archive Migration] x-pack..security/flstest (#107045)
Browse files Browse the repository at this point in the history
  • Loading branch information
wayneseymour authored Jul 30, 2021
1 parent f21c7e1 commit c330fc5
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 433 deletions.
8 changes: 7 additions & 1 deletion x-pack/test/functional/apps/security/field_level_security.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,14 @@ export default function ({ getService, getPageObjects }) {
const retry = getService('retry');
const log = getService('log');
const PageObjects = getPageObjects(['security', 'settings', 'common', 'discover', 'header']);
const kibanaServer = getService('kibanaServer');

describe('field_level_security', () => {
before('initialize tests', async () => {
await esArchiver.loadIfNeeded('x-pack/test/functional/es_archives/security/flstest/data'); //( data)
await esArchiver.load('x-pack/test/functional/es_archives/security/flstest/kibana'); //(savedobject)
await kibanaServer.importExport.load(
'x-pack/test/functional/fixtures/kbn_archiver/security/flstest/index_pattern'
);
await browser.setWindowSize(1600, 1000);
});

Expand Down Expand Up @@ -125,6 +128,9 @@ export default function ({ getService, getPageObjects }) {

after(async function () {
await PageObjects.security.forceLogout();
await kibanaServer.importExport.unload(
'x-pack/test/functional/fixtures/kbn_archiver/security/flstest/index_pattern'
);
});
});
}

This file was deleted.

Loading

0 comments on commit c330fc5

Please sign in to comment.