Skip to content

Commit

Permalink
Skip test
Browse files Browse the repository at this point in the history
  • Loading branch information
sabarasaba committed Nov 21, 2023
1 parent df31e24 commit 65cf2b2
Showing 1 changed file with 9 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -363,15 +363,16 @@ describe('<FollowerIndicesList />', () => {
});
});

test('should have a section to render the follower index shards stats', async () => {
httpRequestsMockHelpers.setLoadFollowerIndicesResponse({ indices: followerIndices });

// Mount the component
await act(async () => {
({ find, exists, component, actions } = setup());
});
component.update();
test('should not have settings values for a "paused" follower index', async () => {
await actions.clickFollowerIndexAt(1); // the second follower index is paused
expect(exists('followerIndexDetail.settingsValues')).toBe(false);
expect(find('followerIndexDetail.settingsSection').text()).toContain(
'paused follower index does not have settings'
);
});

// FLAKY: https://github.com/elastic/kibana/issues/100951
test.skip('should have a section to render the follower index shards stats', async () => {
await actions.clickFollowerIndexAt(0);
expect(exists('followerIndexDetail.shardsStatsSection')).toBe(true);

Expand All @@ -382,14 +383,6 @@ describe('<FollowerIndicesList />', () => {
expect(JSON.parse(codeBlock.props().children)).toEqual(index1.shards[i]);
});
});

test('should not have settings values for a "paused" follower index', async () => {
await actions.clickFollowerIndexAt(1); // the second follower index is paused
expect(exists('followerIndexDetail.settingsValues')).toBe(false);
expect(find('followerIndexDetail.settingsSection').text()).toContain(
'paused follower index does not have settings'
);
});
});
});
});

0 comments on commit 65cf2b2

Please sign in to comment.