[QA][X Pack] Swap es archiver for kbn archiver - API Keys app (#102087) (#117355)

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-08 14:26:20 -05:00 committed by GitHub
parent a471656f04
commit 4da2eb9b6c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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 security = getService('security');
const PageObjects = getPageObjects(['common', 'settings', 'security']);
const appsMenu = getService('appsMenu');
@ -17,14 +16,9 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) {
describe('security', () => {
before(async () => {
await esArchiver.load('x-pack/test/functional/es_archives/empty_kibana');
await PageObjects.common.navigateToApp('home');
});
after(async () => {
await esArchiver.unload('x-pack/test/functional/es_archives/empty_kibana');
});
describe('global all privileges (aka kibana_admin)', () => {
before(async () => {
await security.testUser.setRoles(['kibana_admin'], true);