diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-09-20 02:18:09 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-09-20 02:18:09 +0300 |
commit | 6ed4ec3e0b1340f96b7c043ef51d1b33bbe85fde (patch) | |
tree | dc4d20fe6064752c0bd323187252c77e0a89144b /spec/frontend/projects/pipelines/charts/components/app_spec.js | |
parent | 9868dae7fc0655bd7ce4a6887d4e6d487690eeed (diff) |
Add latest changes from gitlab-org/gitlab@15-4-stable-eev15.4.0-rc42
Diffstat (limited to 'spec/frontend/projects/pipelines/charts/components/app_spec.js')
-rw-r--r-- | spec/frontend/projects/pipelines/charts/components/app_spec.js | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/spec/frontend/projects/pipelines/charts/components/app_spec.js b/spec/frontend/projects/pipelines/charts/components/app_spec.js index 7b9011fa3d9..e3aaf760d1e 100644 --- a/spec/frontend/projects/pipelines/charts/components/app_spec.js +++ b/spec/frontend/projects/pipelines/charts/components/app_spec.js @@ -47,15 +47,16 @@ describe('ProjectsPipelinesChartsApp', () => { wrapper.destroy(); }); - const findGlTabs = () => wrapper.find(GlTabs); - const findAllGlTabs = () => wrapper.findAll(GlTab); + const findGlTabs = () => wrapper.findComponent(GlTabs); + const findAllGlTabs = () => wrapper.findAllComponents(GlTab); const findGlTabAtIndex = (index) => findAllGlTabs().at(index); - const findLeadTimeCharts = () => wrapper.find(LeadTimeChartsStub); - const findTimeToRestoreServiceCharts = () => wrapper.find(TimeToRestoreServiceChartsStub); - const findChangeFailureRateCharts = () => wrapper.find(ChangeFailureRateChartsStub); - const findDeploymentFrequencyCharts = () => wrapper.find(DeploymentFrequencyChartsStub); - const findPipelineCharts = () => wrapper.find(PipelineCharts); - const findProjectQualitySummary = () => wrapper.find(ProjectQualitySummaryStub); + const findLeadTimeCharts = () => wrapper.findComponent(LeadTimeChartsStub); + const findTimeToRestoreServiceCharts = () => + wrapper.findComponent(TimeToRestoreServiceChartsStub); + const findChangeFailureRateCharts = () => wrapper.findComponent(ChangeFailureRateChartsStub); + const findDeploymentFrequencyCharts = () => wrapper.findComponent(DeploymentFrequencyChartsStub); + const findPipelineCharts = () => wrapper.findComponent(PipelineCharts); + const findProjectQualitySummary = () => wrapper.findComponent(ProjectQualitySummaryStub); describe('when all charts are available', () => { beforeEach(() => { |