[SecuritySolution] Delete obsolete enable risk score redirect test (#213327)

The component was replace by an enablement dialog

## Summary

Delete the obsolete "enable risk score redirect" test.
The redirect button was replaced by an enablement dialog.
This commit is contained in:
Pablo Machado 2025-03-06 12:43:47 +01:00 committed by GitHub
parent 3535d86d39
commit 2a32ed4755
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,44 +0,0 @@
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0; you may not use this file except in compliance with the Elastic License
* 2.0.
*/
import { ENABLE_RISK_SCORE_BUTTON } from '../../../screens/entity_analytics';
import { login } from '../../../tasks/login';
import { visit } from '../../../tasks/navigation';
import { clickEnableRiskScore } from '../../../tasks/risk_scores';
import { ENTITY_ANALYTICS_URL } from '../../../urls/navigation';
import { PAGE_TITLE } from '../../../screens/entity_analytics_management';
// Failing: See https://github.com/elastic/kibana/issues/206580
describe.skip(
'Enable risk scores from dashboard',
{
tags: ['@ess', '@serverless'],
env: {
ftrConfig: {
kbnServerArgs: [
`--xpack.securitySolution.enableExperimental=${JSON.stringify(['entityStoreDisabled'])}`,
],
},
},
},
() => {
beforeEach(() => {
login();
visit(ENTITY_ANALYTICS_URL);
});
it('risk enable button should redirect to entity management page', () => {
cy.get(ENABLE_RISK_SCORE_BUTTON).should('exist');
clickEnableRiskScore();
cy.get(PAGE_TITLE).should('have.text', 'Entity Risk Score');
});
}
);