Skip to content

Commit

Permalink
[Lens] Unload canvas test properly (elastic#102101)
Browse files Browse the repository at this point in the history
  • Loading branch information
flash1293 committed Jun 16, 2021
1 parent 1b7a5a9 commit 036c157
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions x-pack/test/functional/apps/canvas/lens.ts
Expand Up @@ -22,6 +22,10 @@ export default function canvasLensTest({ getService, getPageObjects }: FtrProvid
});
});

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

it('renders lens visualization', async () => {
await PageObjects.header.waitUntilLoadingHasFinished();

Expand Down
Expand Up @@ -20,6 +20,7 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) {
describe('security', () => {
before(async () => {
await esArchiver.load('x-pack/test/functional/es_archives/empty_kibana');
await esArchiver.loadIfNeeded('x-pack/test/functional/es_archives/logstash_functional');
});

after(async () => {
Expand Down

0 comments on commit 036c157

Please sign in to comment.