Compare commits
2 Commits
commit-54c
...
commit-087
Author | SHA1 | Date | |
---|---|---|---|
087b42693f | |||
8f4c23bf40 |
@ -23,7 +23,7 @@ const VerifiedShieldIcon = createSvgIcon(
|
||||
|
||||
const NoneVulnerabilityIcon = ({ vulnerabilityStringTitle }) => {
|
||||
return (
|
||||
<Tooltip title={`${vulnerabilityStringTitle} Vulnerability`} placement="top">
|
||||
<Tooltip title={`${vulnerabilityStringTitle}`} placement="top">
|
||||
<OutlinedBugIcon
|
||||
sx={{
|
||||
color: '#43A047!important',
|
||||
@ -40,7 +40,7 @@ const NoneVulnerabilityIcon = ({ vulnerabilityStringTitle }) => {
|
||||
};
|
||||
const UnknownVulnerabilityIcon = ({ vulnerabilityStringTitle }) => {
|
||||
return (
|
||||
<Tooltip title={`${vulnerabilityStringTitle} Vulnerability`} placement="top">
|
||||
<Tooltip title={`${vulnerabilityStringTitle}`} placement="top">
|
||||
<OutlinedBugIcon
|
||||
sx={{
|
||||
color: '#52637A',
|
||||
@ -75,7 +75,7 @@ const FailedScanIcon = () => {
|
||||
};
|
||||
const LowVulnerabilityIcon = ({ vulnerabilityStringTitle }) => {
|
||||
return (
|
||||
<Tooltip title={`${vulnerabilityStringTitle} Vulnerability`} placement="top">
|
||||
<Tooltip title={`${vulnerabilityStringTitle}`} placement="top">
|
||||
<OutlinedBugIcon
|
||||
sx={{
|
||||
color: '#FB8C00',
|
||||
@ -92,7 +92,7 @@ const LowVulnerabilityIcon = ({ vulnerabilityStringTitle }) => {
|
||||
};
|
||||
const MediumVulnerabilityIcon = ({ vulnerabilityStringTitle }) => {
|
||||
return (
|
||||
<Tooltip title={`${vulnerabilityStringTitle} Vulnerability`} placement="top">
|
||||
<Tooltip title={`${vulnerabilityStringTitle}`} placement="top">
|
||||
<FilledBugIcon
|
||||
sx={{
|
||||
color: '#FB8C00',
|
||||
@ -109,7 +109,7 @@ const MediumVulnerabilityIcon = ({ vulnerabilityStringTitle }) => {
|
||||
};
|
||||
const HighVulnerabilityIcon = ({ vulnerabilityStringTitle }) => {
|
||||
return (
|
||||
<Tooltip title={`${vulnerabilityStringTitle} Vulnerability`} placement="top">
|
||||
<Tooltip title={`${vulnerabilityStringTitle}`} placement="top">
|
||||
<OutlinedBugIcon
|
||||
sx={{
|
||||
color: '#E53935',
|
||||
@ -126,7 +126,7 @@ const HighVulnerabilityIcon = ({ vulnerabilityStringTitle }) => {
|
||||
};
|
||||
const CriticalVulnerabilityIcon = ({ vulnerabilityStringTitle }) => {
|
||||
return (
|
||||
<Tooltip title={`${vulnerabilityStringTitle} Vulnerability`} placement="top">
|
||||
<Tooltip title={`${vulnerabilityStringTitle}`} placement="top">
|
||||
<FilledBugIcon
|
||||
sx={{
|
||||
color: '#E53935',
|
||||
|
@ -7,7 +7,7 @@ import { hosts, endpoints, sortCriteria } from './values/test-constants';
|
||||
test.describe('explore page test', () => {
|
||||
test.beforeEach(async ({ page }) => {
|
||||
await page.addInitScript(() => {
|
||||
window.localStorage.setItem('token', '-');
|
||||
window.localStorage.setItem('authConfig', '{}');
|
||||
});
|
||||
});
|
||||
|
||||
|
@ -5,7 +5,7 @@ import { hosts, endpoints, sortCriteria } from './values/test-constants';
|
||||
test.describe('homepage test', () => {
|
||||
test.beforeEach(async ({ page }) => {
|
||||
await page.addInitScript(() => {
|
||||
window.localStorage.setItem('token', '-');
|
||||
window.localStorage.setItem('authConfig', '{}');
|
||||
});
|
||||
});
|
||||
|
||||
|
@ -5,7 +5,7 @@ import { getRepoListOrderedAlpha } from './utils/test-data-parser';
|
||||
test.describe('navbar test', () => {
|
||||
test.beforeEach(async ({ page }) => {
|
||||
await page.addInitScript(() => {
|
||||
window.localStorage.setItem('token', '-');
|
||||
window.localStorage.setItem('authConfig', '{}');
|
||||
});
|
||||
});
|
||||
|
||||
|
@ -8,7 +8,7 @@ const testRepo = getMultiTagRepo();
|
||||
test.describe('Repository page test', () => {
|
||||
test.beforeEach(async ({ page }) => {
|
||||
await page.addInitScript(() => {
|
||||
window.localStorage.setItem('token', '-');
|
||||
window.localStorage.setItem('authConfig', '{}');
|
||||
});
|
||||
|
||||
await page.goto(`${hosts.ui}/image/${testRepo.repo}`);
|
||||
|
@ -5,7 +5,7 @@ import { hosts, pageSizes } from './values/test-constants';
|
||||
test.describe('Tag page test', () => {
|
||||
test.beforeEach(async ({ page }) => {
|
||||
await page.addInitScript(() => {
|
||||
window.localStorage.setItem('token', '-');
|
||||
window.localStorage.setItem('authConfig', '{}');
|
||||
});
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user