Remove wrong test (#206231)

## Summary

This test is not useful and has a bug, so we decided to remove it.
This commit is contained in:
Maryam Saeidi 2025-01-10 11:39:40 +01:00 committed by GitHub
parent 7386e26824
commit 82721b0c25
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 = {