Skip to content

Commit

Permalink
clean up test
Browse files Browse the repository at this point in the history
  • Loading branch information
flash1293 committed Sep 7, 2020
1 parent 8705ab8 commit 1dd92cc
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions test/functional/apps/management/_create_index_pattern_wizard.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,18 @@ export default function ({ getService, getPageObjects }) {

await PageObjects.settings.createIndexPattern('alias1', false);
});

after(async () => {
await es.transport.request({
path: '/_aliases',
method: 'POST',
body: { actions: [{ remove: { index: 'blogs', alias: 'alias1' } }] },
});
await es.transport.request({
path: '/blogs',
method: 'DELETE',
});
});
});
});
}

0 comments on commit 1dd92cc

Please sign in to comment.