Skip to content

Commit

Permalink
[Archive Migration] x-pack lens/rollup/config (#135022)
Browse files Browse the repository at this point in the history
* [Archive Migration] x-pack lens/rollup/config

Migrate and drop old archive.
Make the test use the new archive.

* Remove ambiguitity in file name.

Reorder new archive to match old archive's order.
  • Loading branch information
wayneseymour authored Jun 28, 2022
1 parent f609f09 commit f902f68
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 1,341 deletions.
8 changes: 6 additions & 2 deletions x-pack/test/functional/apps/lens/group3/rollup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,21 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
const find = getService('find');
const listingTable = getService('listingTable');
const esArchiver = getService('esArchiver');
const kibanaServer = getService('kibanaServer');

describe('lens rollup tests', () => {
before(async () => {
await kibanaServer.savedObjects.cleanStandardList();
await esArchiver.loadIfNeeded('x-pack/test/functional/es_archives/lens/rollup/data');
await esArchiver.loadIfNeeded('x-pack/test/functional/es_archives/lens/rollup/config');
await kibanaServer.importExport.load(
'x-pack/test/functional/fixtures/kbn_archiver/rollup/config.json'
);
await PageObjects.timePicker.setDefaultAbsoluteRangeViaUiSettings();
});

after(async () => {
await esArchiver.unload('x-pack/test/functional/es_archives/lens/rollup/data');
await esArchiver.unload('x-pack/test/functional/es_archives/lens/rollup/config');
await kibanaServer.savedObjects.cleanStandardList();
await PageObjects.timePicker.resetDefaultAbsoluteRangeViaUiSettings();
});

Expand Down
87 changes: 0 additions & 87 deletions x-pack/test/functional/es_archives/lens/rollup/config/data.json

This file was deleted.

Loading

0 comments on commit f902f68

Please sign in to comment.