diff --git a/x-pack/plugins/apm/public/components/shared/tutorial/config_agent/index.test.tsx b/x-pack/plugins/apm/public/components/shared/tutorial/config_agent/index.test.tsx index 9947517d060248..0c0f01ad80e4b3 100644 --- a/x-pack/plugins/apm/public/components/shared/tutorial/config_agent/index.test.tsx +++ b/x-pack/plugins/apm/public/components/shared/tutorial/config_agent/index.test.tsx @@ -7,7 +7,7 @@ import { fireEvent, render, screen } from '@testing-library/react'; import { HttpStart } from 'kibana/public'; import React from 'react'; -import TutorialAgentSecretTokenSelector from './'; +import TutorialConfigAgent from './'; const policyElasticAgentOnCloudAgent = { id: 'policy-elastic-agent-on-cloud', @@ -31,7 +31,7 @@ const agents = [ }, ]; -describe('TutorialAgentSecretTokenSelector', () => { +describe('TutorialConfigAgent', () => { beforeAll(() => { jest.spyOn(console, 'error').mockImplementation(() => null); }); @@ -41,7 +41,7 @@ describe('TutorialAgentSecretTokenSelector', () => { }); it('renders loading component while API is being called', () => { const component = render( - { }); it('updates commands when a different policy is selected', async () => { const component = render( - { describe('running on prem', () => { it('selects defaul standalone by defauls', async () => { const component = render( - { describe('running on cloud', () => { it('selects defaul standalone by defauls', async () => { const component = render( - { }); it('selects policy elastic agent on cloud when available by default', async () => { const component = render( -