Skip to content

Commit

Permalink
Remove wrong test (elastic#206231)
Browse files Browse the repository at this point in the history
## Summary

This test is not useful and has a bug, so we decided to remove it.
  • Loading branch information
maryam-saeidi authored Jan 10, 2025
1 parent 7386e26 commit 82721b0
Showing 1 changed file with 0 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,17 +52,6 @@ describe('AlertsFlyout', () => {

expect(flyout.getByText('Recovered')).toBeInTheDocument();
});

it('should NOT show the Alert details button as the feature flag is disabled', async () => {
const flyout = render(
<AlertsFlyout
alert={recoveredAlert}
observabilityRuleTypeRegistry={observabilityRuleTypeRegistryMock}
onClose={jest.fn()}
/>
);
expect(flyout.queryByTestId('alertsFlyoutAlertDetailsButton')).not.toBeInTheDocument();
});
});

const activeAlert: TopAlert = {
Expand Down

0 comments on commit 82721b0

Please sign in to comment.