diff options
Diffstat (limited to 'spec/frontend/pipeline_editor/components/lint/ci_lint_warnings_spec.js')
-rw-r--r-- | spec/frontend/pipeline_editor/components/lint/ci_lint_warnings_spec.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/frontend/pipeline_editor/components/lint/ci_lint_warnings_spec.js b/spec/frontend/pipeline_editor/components/lint/ci_lint_warnings_spec.js index 4b576508ee9..36052a2e16a 100644 --- a/spec/frontend/pipeline_editor/components/lint/ci_lint_warnings_spec.js +++ b/spec/frontend/pipeline_editor/components/lint/ci_lint_warnings_spec.js @@ -17,9 +17,9 @@ describe('CI lint warnings', () => { }); }; - const findWarningAlert = () => wrapper.find(GlAlert); + const findWarningAlert = () => wrapper.findComponent(GlAlert); const findWarnings = () => wrapper.findAll('[data-testid="ci-lint-warning"]'); - const findWarningMessage = () => trimText(wrapper.find(GlSprintf).text()); + const findWarningMessage = () => trimText(wrapper.findComponent(GlSprintf).text()); afterEach(() => { wrapper.destroy(); |