diff --git a/CHANGELOG.md b/CHANGELOG.md index 0077f0a10..05dcd42e0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,9 @@ * Add subpackages PURL column on affects table (`OSIDB-4697`) * Add validations to PURLs in affect table fields (`OSIDB-4698`) +### Changed +* Rename flaw "Components" field to "Source Component" (`OSIDB-4690`) + ### Fixed * Pin new affect rows on top (`OSIDB-4342`) * Suggest trackers across all existing rows (`OSIDB-4638`) diff --git a/src/components/FlawForm/FlawForm.vue b/src/components/FlawForm/FlawForm.vue index bc94231ce..24051c6d7 100644 --- a/src/components/FlawForm/FlawForm.vue +++ b/src/components/FlawForm/FlawForm.vue @@ -256,7 +256,7 @@ const aegisSuggestDescriptionComposable = useAegisSuggestDescription({
diff --git a/src/components/__tests__/FlawForm.spec.ts b/src/components/__tests__/FlawForm.spec.ts index cf9c660ec..ed24f5d6f 100644 --- a/src/components/__tests__/FlawForm.spec.ts +++ b/src/components/__tests__/FlawForm.spec.ts @@ -105,7 +105,7 @@ describe('flawForm', () => { const componentsField = subject .findAllComponents(LabelTagsInput) - .find(component => component.props().label === 'Components'); + .find(component => component.props().label === 'Source Component'); expect(componentsField?.exists()).toBe(true); const cveIdField = subject @@ -188,7 +188,7 @@ describe('flawForm', () => { const componentsField = subject .findAllComponents(LabelTagsInput) - .find(component => component.props().label === 'Components'); + .find(component => component.props().label === 'Source Component'); expect(componentsField?.exists()).toBe(true); const cveIdField = subject @@ -275,7 +275,7 @@ describe('flawForm', () => { const componentsField = subject .findAllComponents(LabelTagsInput) - .find(component => component.props().label === 'Components') + .find(component => component.props().label === 'Source Component') ?.find('.is-invalid'); expect(componentsField?.exists()).toBe(true); diff --git a/src/components/__tests__/__snapshots__/FlawForm.spec.ts.snap b/src/components/__tests__/__snapshots__/FlawForm.spec.ts.snap index 7b5de03d3..a84f07422 100644 --- a/src/components/__tests__/__snapshots__/FlawForm.spec.ts.snap +++ b/src/components/__tests__/__snapshots__/FlawForm.spec.ts.snap @@ -91,7 +91,7 @@ exports[`flawForm > mounts and renders 1`] = `