[QA][X Pack] Swap es archiver for kbn archiver - advanced settings (#101842) (#117361)

Drop all empty kibana calls

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Tre <wayne.seymour@elastic.co>
This commit is contained in:
Kibana Machine 2021-11-03 13:48:21 -04:00 committed by GitHub
parent affd312c59
commit e474a5dbd1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 11 deletions

View file

@ -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']);
@ -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', {

View file

@ -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',
@ -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 () => {