Goal:
Allow users to show/hide columns on the fly. This includes updating the columns shown in pdf and csv exports in addition to what appears in the table.
To test:
Note: The ISSUE_SEVERITY and ISSUE columns cannot be hidden and will always be present. Because the ISSUE columns depends on multiple layer columns, all of those layer columns will end up in the csv export.
Check out the modify_columns branch in snyk-insights
sync modules
in the iframe, open the issue details page
Verify that the following columns are present:
[ ] SCORE
[ ] ISSUE
[ ] CVE
[ ] CWE
[ ] PROJECT
[ ] EXPLOIT MATURITY
[ ] AUTO FIXABLE
[ ] INTRODUCED
[ ] PRODUCT
Select/Deselect columns
Verify that the selected/deselect columns are added/removed from the table as appropriate.
Refresh the page
Verify that the columns you selected/deselected are still present/absent as appropriate
Export a pdf, verify that none of the data is cut off and that the columns you selected/deselected are present/absent as appropriate
Export a csv, verify that the columns you selected/deselected are present/absent as appropriate
Select All the columns and verify that the table in the pdf does not have a horizontal scroll and cut off part of the data
Reset All the columns and verify that pdf and csv generation works
Goal: Allow users to show/hide columns on the fly. This includes updating the columns shown in pdf and csv exports in addition to what appears in the table.
To test: Note: The ISSUE_SEVERITY and ISSUE columns cannot be hidden and will always be present. Because the ISSUE columns depends on multiple layer columns, all of those layer columns will end up in the csv export.