Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,7 @@ describe('Vulnerability Management Cluster (Platform) CVEs', () => {

// Some tests might fail in local deployment.

// TODO Investigate why CI displays No clusters instead of 2 clusters.
it.skip('should display links for clusters', () => {
it('should display links for clusters', () => {
verifySecondaryEntities(
entitiesKey,
'clusters',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,17 +76,27 @@ describe('Vulnerability Management Dashboard', () => {
});
});

// TODO Delete skip when we delete ROX_POSTGRES_DATASTORE feature flag.
it('should show same number of Image CVEs in menu item and entities list', function () {
if (!hasFeatureFlag('ROX_POSTGRES_DATASTORE')) {
this.skip();
}

it.skip('should show same number of Image CVEs in menu item and entities list', () => {
verifyVulnerabilityManagementDashboardCVEs('image-cves', /^\d+ Image CVEs?$/);
});

it.skip('should show same number of Node CVEs in menu item and entities list', () => {
it('should show same number of Node CVEs in menu item and entities list', function () {
if (!hasFeatureFlag('ROX_POSTGRES_DATASTORE')) {
this.skip();
}

verifyVulnerabilityManagementDashboardCVEs('node-cves', /^\d+ Node CVEs?$/);
});

it.skip('should show same number of Cluster (Platform) CVEs in menu item and entities list', () => {
it('should show same number of Cluster (Platform) CVEs in menu item and entities list', function () {
if (!hasFeatureFlag('ROX_POSTGRES_DATASTORE')) {
this.skip();
}

verifyVulnerabilityManagementDashboardCVEs('cluster-cves', /^\d+ Platform CVEs?$/);
});

Expand Down Expand Up @@ -142,9 +152,11 @@ describe('Vulnerability Management Dashboard', () => {
);
});

// TODO Delete skip when we delete ROX_POSTGRES_DATASTORE feature flag.
it('should navigate to the node components list', function () {
if (!hasFeatureFlag('ROX_POSTGRES_DATASTORE')) {
this.skip();
}

it.skip('should navigate to the node components list', () => {
visitVulnerabilityManagementDashboard();

const entitiesKey = 'node-components';
Expand All @@ -156,7 +168,11 @@ describe('Vulnerability Management Dashboard', () => {
);
});

it.skip('should navigate to the image components list', () => {
it('should navigate to the image components list', function () {
if (!hasFeatureFlag('ROX_POSTGRES_DATASTORE')) {
this.skip();
}

visitVulnerabilityManagementDashboard();

const entitiesKey = 'image-components';
Expand Down