mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
91779ec7e4
commit
07a1d44b49
1 changed files with 10 additions and 0 deletions
|
@ -209,6 +209,16 @@ describe('<IndexManagementHome />', () => {
|
|||
find('indexTableIndexNameLink').at(0).simulate('click');
|
||||
});
|
||||
|
||||
test('should be able to refresh index', async () => {
|
||||
const { actions } = testBed;
|
||||
|
||||
await actions.clickManageContextMenuButton();
|
||||
await actions.clickContextMenuOption('refreshIndexMenuButton');
|
||||
|
||||
const latestRequest = server.requests[server.requests.length - 2];
|
||||
expect(latestRequest.url).toBe(`${API_BASE_PATH}/indices/refresh`);
|
||||
});
|
||||
|
||||
test('should be able to close an open index', async () => {
|
||||
const { actions } = testBed;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue