import * as React from 'react'; import { ButtonVariant, EmptyStateBody, EmptyStateActions } from '@patternfly/react-core'; import emptyStateImgUrl from '~/assets/Integration-test.svg'; import { ButtonWithAccessTooltip } from '~/components/ButtonWithAccessTooltip'; import AppEmptyState from '~/shared/components/empty-state/AppEmptyState'; const IntegrationTestsEmptyState: React.FC< React.PropsWithChildren<{ handleAddTest?: () => void; canCreateIntegrationTest?: boolean; context?: 'application' | 'componentGroup'; }> > = ({ handleAddTest, canCreateIntegrationTest, context = 'application' }) => { return ( Integration tests run in parallel, validating each new component build with the latest version of all other {context === 'application' ? 'application' : 'component group'}{' '} components.
To add an integration test, link to a Git repository containing code that can test how your {context === 'application' ? ' application' : ' component group'} components work together.
{!!handleAddTest && ( Add integration test )}
); }; export default IntegrationTestsEmptyState;