diff --git a/assets/js/components/HostDetails/HostDetails.jsx b/assets/js/components/HostDetails/HostDetails.jsx index f5c8257825..03b28becc2 100644 --- a/assets/js/components/HostDetails/HostDetails.jsx +++ b/assets/js/components/HostDetails/HostDetails.jsx @@ -1,18 +1,14 @@ import React, { useState } from 'react'; import { get } from 'lodash'; -import { EOS_CLEAR_ALL, EOS_PLAY_CIRCLE, EOS_SETTINGS } from 'eos-icons-react'; import { agentVersionWarning } from '@lib/agent'; -import Button from '@components/Button'; import Table from '@components/Table'; import PageHeader from '@components/PageHeader'; import BackButton from '@components/BackButton'; import WarningBanner from '@components/Banners/WarningBanner'; import CleanUpButton from '@components/CleanUpButton'; import DeregistrationModal from '@components/DeregistrationModal'; -import { canStartExecution } from '@components/ChecksSelection'; -import Tooltip from '@components/Tooltip'; import SuseLogo from '@static/suse_logo.svg'; import CheckResultsOverview from '@components/CheckResultsOverview'; @@ -41,14 +37,11 @@ function HostDetails({ provider, providerData, sapInstances, - savingChecks, saptuneStatus = {}, - selectedChecks = [], slesSubscriptions, catalog, lastExecution, cleanUpHost, - requestHostChecksExecution, navigate, }) { const [cleanUpModalOpen, setCleanUpModalOpen] = useState(false); @@ -110,47 +103,6 @@ function HostDetails({ }} /> )} - - - - - - -
diff --git a/assets/js/components/HostDetails/HostDetails.test.jsx b/assets/js/components/HostDetails/HostDetails.test.jsx index 86cc4aacf8..1e5afaf6ad 100644 --- a/assets/js/components/HostDetails/HostDetails.test.jsx +++ b/assets/js/components/HostDetails/HostDetails.test.jsx @@ -13,7 +13,7 @@ import HostDetails from './HostDetails'; describe('HostDetails component', () => { describe('Checks execution', () => { - it('should show the Checks related action buttons', () => { + it.skip('should show the Checks related action buttons', () => { renderWithRouter(); expect( @@ -27,7 +27,7 @@ describe('HostDetails component', () => { ).toBeVisible(); }); - it('should disable start execution button when checks are not selected', async () => { + it.skip('should disable start execution button when checks are not selected', async () => { const user = userEvent.setup(); renderWithRouter( @@ -41,7 +41,7 @@ describe('HostDetails component', () => { expect(screen.getByText('Select some Checks first!')).toBeInTheDocument(); }); - it('should enable start execution button when checks are selected', async () => { + it.skip('should enable start execution button when checks are selected', async () => { const user = userEvent.setup(); const selectedChecks = [faker.animal.bear(), faker.animal.bear()];