Skip to content

Commit 80ec47e

Browse files
authored
clean up test (#76887) (#77137)
1 parent c1fd827 commit 80ec47e

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

test/functional/apps/management/_create_index_pattern_wizard.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,18 @@ export default function ({ getService, getPageObjects }) {
6666

6767
await PageObjects.settings.createIndexPattern('alias1', false);
6868
});
69+
70+
after(async () => {
71+
await es.transport.request({
72+
path: '/_aliases',
73+
method: 'POST',
74+
body: { actions: [{ remove: { index: 'blogs', alias: 'alias1' } }] },
75+
});
76+
await es.transport.request({
77+
path: '/blogs',
78+
method: 'DELETE',
79+
});
80+
});
6981
});
7082
});
7183
}

0 commit comments

Comments
 (0)