Skip to content

Commit

Permalink
[QA][X Pack] Swap es archiver for kbn archiver - advanced settings (e…
Browse files Browse the repository at this point in the history
…lastic#101842) (elastic#117361)

Drop all empty kibana calls

Co-authored-by: Kibana Machine <[email protected]>

Co-authored-by: Tre <[email protected]>
  • Loading branch information
kibanamachine and wayneseymour authored Nov 3, 2021
1 parent affd312 commit e474a5d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import expect from '@kbn/expect';
import { FtrProviderContext } from '../../../ftr_provider_context';

export default function ({ getPageObjects, getService }: FtrProviderContext) {
const esArchiver = getService('esArchiver');
const kibanaServer = getService('kibanaServer');
const security = getService('security');
const PageObjects = getPageObjects(['common', 'settings', 'security', 'spaceSelector']);
Expand All @@ -18,14 +17,6 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) {
const globalNav = getService('globalNav');

describe('security feature controls', () => {
before(async () => {
await esArchiver.load('x-pack/test/functional/es_archives/empty_kibana');
});

after(async () => {
await esArchiver.unload('x-pack/test/functional/es_archives/empty_kibana');
});

describe('global advanced_settings all privileges', () => {
before(async () => {
await security.role.create('global_advanced_settings_all_role', {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) {
before(async () => {
// we need to load the following in every situation as deleting
// a space deletes all of the associated saved objects
await esArchiver.load('x-pack/test/functional/es_archives/empty_kibana');

await spacesService.create({
id: 'custom_space',
Expand All @@ -36,7 +35,6 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) {

after(async () => {
await spacesService.delete('custom_space');
await esArchiver.unload('x-pack/test/functional/es_archives/empty_kibana');
});

it('shows Management navlink', async () => {
Expand Down

0 comments on commit e474a5d

Please sign in to comment.