diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alert_details/components/alert_details.test.tsx b/x-pack/plugins/triggers_actions_ui/public/application/sections/alert_details/components/alert_details.test.tsx
index f025b0396f04d..d781e8b761845 100644
--- a/x-pack/plugins/triggers_actions_ui/public/application/sections/alert_details/components/alert_details.test.tsx
+++ b/x-pack/plugins/triggers_actions_ui/public/application/sections/alert_details/components/alert_details.test.tsx
@@ -8,16 +8,8 @@ import uuid from 'uuid';
import { shallow } from 'enzyme';
import { AlertDetails } from './alert_details';
import { Alert, ActionType } from '../../../../types';
-import {
- EuiTitle,
- EuiBadge,
- EuiFlexItem,
- EuiButtonEmpty,
- EuiSwitch,
- EuiBetaBadge,
-} from '@elastic/eui';
+import { EuiTitle, EuiBadge, EuiFlexItem, EuiSwitch, EuiBetaBadge } from '@elastic/eui';
import { times, random } from 'lodash';
-import { FormattedMessage } from '@kbn/i18n/react';
import { i18n } from '@kbn/i18n';
import { ViewInApp } from './view_in_app';
@@ -218,31 +210,6 @@ describe('alert_details', () => {
});
describe('links', () => {
- it('links to the Edit flyout', () => {
- const alert = mockAlert();
-
- const alertType = {
- id: '.noop',
- name: 'No Op',
- actionGroups: [{ id: 'default', name: 'Default' }],
- actionVariables: { context: [], state: [] },
- defaultActionGroupId: 'default',
- };
-
- expect(
- shallow(
-
- ).containsMatchingElement(
-
-
-
- )
- ).toBeTruthy();
- });
-
it('links to the app that created the alert', () => {
const alert = mockAlert();
@@ -260,31 +227,6 @@ describe('alert_details', () => {
).containsMatchingElement()
).toBeTruthy();
});
-
- it('links to the activity log', () => {
- const alert = mockAlert();
-
- const alertType = {
- id: '.noop',
- name: 'No Op',
- actionGroups: [{ id: 'default', name: 'Default' }],
- actionVariables: { context: [], state: [] },
- defaultActionGroupId: 'default',
- };
-
- expect(
- shallow(
-
- ).containsMatchingElement(
-
-
-
- )
- ).toBeTruthy();
- });
});
});
diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alert_details/components/alert_details.tsx b/x-pack/plugins/triggers_actions_ui/public/application/sections/alert_details/components/alert_details.tsx
index 49e818ebc7ee4..1f55e61e9ee0d 100644
--- a/x-pack/plugins/triggers_actions_ui/public/application/sections/alert_details/components/alert_details.tsx
+++ b/x-pack/plugins/triggers_actions_ui/public/application/sections/alert_details/components/alert_details.tsx
@@ -17,7 +17,6 @@ import {
EuiBadge,
EuiPage,
EuiPageContentBody,
- EuiButtonEmpty,
EuiSwitch,
EuiCallOut,
EuiSpacer,
@@ -87,25 +86,9 @@ export const AlertDetails: React.FunctionComponent = ({
-
-
-
-
-
-
-
-
-
-