Skip to content
Snippets Groups Projects

Enable group level vulnerability report grouping

Merged Savas Vedova requested to merge 431633-add-grouping-to-group-report into master
1 unresolved thread
1 file
+ 0
20
Compare changes
  • Side-by-side
  • Inline
@@ -279,26 +279,6 @@ describe('Vulnerability report component', () => {
await waitForPromises();
};
it.each`
isProjectVulnerabilityReport | isVisible | shouldDisplay
${false} | ${true} | ${false}
${true} | ${true} | ${true}
${true} | ${false} | ${false}
`(
'displays the group by button correctly ' +
'project: $isProjectVulnerabilityReport, ' +
'isVisible: $isVisible, ' +
'should display: $shouldDisplay',
({ isProjectVulnerabilityReport, isVisible, shouldDisplay }) => {
createWrapper({
isProjectVulnerabilityReport,
isVisible,
});
expect(findGroupByButton().exists()).toBe(shouldDisplay);
},
);
it('displays the group by label', () => {
createWrapperWithFilters();
expect(wrapper.findByText('Group by:').exists()).toBe(true);
Loading