fix: change 'csv' to 'CSV' in the vulnerabilities download options list (#413)

Signed-off-by: Andreea-Lupu <andreealupu1470@yahoo.com>
This commit is contained in:
Andreea Lupu 2024-01-17 14:16:46 +02:00 committed by GitHub
parent 12b474e126
commit 6cda89c710
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -574,7 +574,7 @@ describe('Vulnerabilties page', () => {
fireEvent.click(downloadBtn[0]);
expect(await screen.findByTestId('export-csv-menuItem')).toBeInTheDocument();
expect(await screen.findByTestId('export-excel-menuItem')).toBeInTheDocument();
const exportAsCSVBtn = screen.getByText(/csv/i);
const exportAsCSVBtn = screen.getByText(/CSV/i);
expect(exportAsCSVBtn).toBeInTheDocument();
global.URL.createObjectURL = jest.fn();
await fireEvent.click(exportAsCSVBtn);

View File

@ -315,7 +315,7 @@ function VulnerabilitiesDetails(props) {
className={classes.popper}
data-testid="export-csv-menuItem"
>
csv
CSV
</MenuItem>
<Divider sx={{ my: 0.5 }} />
<MenuItem