diff options
Diffstat (limited to 'spec/frontend/security_configuration/components/training_provider_list_spec.js')
-rw-r--r-- | spec/frontend/security_configuration/components/training_provider_list_spec.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/frontend/security_configuration/components/training_provider_list_spec.js b/spec/frontend/security_configuration/components/training_provider_list_spec.js index b6451af57d7..8f2b5383191 100644 --- a/spec/frontend/security_configuration/components/training_provider_list_spec.js +++ b/spec/frontend/security_configuration/components/training_provider_list_spec.js @@ -193,7 +193,7 @@ describe('TrainingProviderList component', () => { }); it(`shows the learn more link for enabled card ${index}`, () => { - const learnMoreLink = findCards().at(index).find(GlLink); + const learnMoreLink = findCards().at(index).findComponent(GlLink); const tempLogo = TEMP_PROVIDER_URLS[name]; if (tempLogo) { @@ -224,7 +224,7 @@ describe('TrainingProviderList component', () => { }); it('shows a info-tooltip that describes the purpose of a primary provider', () => { - const infoIcon = findPrimaryProviderRadios().at(index).find(GlIcon); + const infoIcon = findPrimaryProviderRadios().at(index).findComponent(GlIcon); const tooltip = getBinding(infoIcon.element, 'gl-tooltip'); expect(infoIcon.props()).toMatchObject({ |