Skip to content
Snippets Groups Projects
Commit 8cd2803b authored by Savas Vedova's avatar Savas Vedova
Browse files

Remove unnecessary test

parent 51190b93
No related branches found
No related tags found
No related merge requests found
This commit is part of merge request !137778. Comments created here will be created in the context of that merge request.
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment