mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
[Archive Migrations] x-pack..lens/reporting (#136262)
This commit is contained in:
parent
495d64694b
commit
2aa000b9ea
4 changed files with 496 additions and 1264 deletions
|
@ -11,13 +11,15 @@ import { FtrProviderContext } from '../../../ftr_provider_context';
|
|||
export default function ({ getService, getPageObjects }: FtrProviderContext) {
|
||||
const PageObjects = getPageObjects(['common', 'dashboard', 'reporting', 'timePicker']);
|
||||
const es = getService('es');
|
||||
const esArchiver = getService('esArchiver');
|
||||
const kibanaServer = getService('kibanaServer');
|
||||
const listingTable = getService('listingTable');
|
||||
const security = getService('security');
|
||||
|
||||
describe('lens reporting', () => {
|
||||
before(async () => {
|
||||
await esArchiver.loadIfNeeded('x-pack/test/functional/es_archives/lens/reporting');
|
||||
await kibanaServer.importExport.load(
|
||||
'x-pack/test/functional/fixtures/kbn_archiver/lens/reporting'
|
||||
);
|
||||
await PageObjects.timePicker.setDefaultAbsoluteRangeViaUiSettings();
|
||||
await security.testUser.setRoles(
|
||||
[
|
||||
|
@ -30,7 +32,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
|
|||
});
|
||||
|
||||
after(async () => {
|
||||
await esArchiver.unload('x-pack/test/functional/es_archives/lens/reporting');
|
||||
await kibanaServer.savedObjects.cleanStandardList();
|
||||
await PageObjects.timePicker.resetDefaultAbsoluteRangeViaUiSettings();
|
||||
await es.deleteByQuery({
|
||||
index: '.reporting-*',
|
||||
|
|
Binary file not shown.
File diff suppressed because it is too large
Load diff
491
x-pack/test/functional/fixtures/kbn_archiver/lens/reporting.json
Normal file
491
x-pack/test/functional/fixtures/kbn_archiver/lens/reporting.json
Normal file
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue