Skip to content

Commit

Permalink
adjusting tags
Browse files Browse the repository at this point in the history
  • Loading branch information
MadameSheema committed Oct 9, 2023
1 parent 0b56eea commit ddec630
Showing 1 changed file with 26 additions and 22 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -315,32 +315,36 @@ describe('Entity Analytics Dashboard', { tags: ['@ess', '@serverless'] }, () =>
});
});

describe('Risk Score enabled but still no data', () => {
before(() => {
cy.task('esArchiverLoad', { archiveName: 'risk_scores_new_no_data' });
});
describe(
'Risk Score enabled but still no data',
{ tags: ['@ess', '@brokenInServerless'] },
() => {
before(() => {
cy.task('esArchiverLoad', { archiveName: 'risk_scores_new_no_data' });
});

beforeEach(() => {
login();
enableRiskEngine();
visitWithTimeRange(ENTITY_ANALYTICS_URL);
});
beforeEach(() => {
login();
enableRiskEngine();
visitWithTimeRange(ENTITY_ANALYTICS_URL);
});

afterEach(() => {
deleteRiskEngineConfiguration();
});
afterEach(() => {
deleteRiskEngineConfiguration();
});

after(() => {
cy.task('esArchiverUnload', 'risk_scores_new_no_data');
});
after(() => {
cy.task('esArchiverUnload', 'risk_scores_new_no_data');
});

it('shows no data detected prompt for host and user risk scores', () => {
cy.get(HOST_RISK_SCORE_NO_DATA_DETECTED).should('be.visible');
cy.get(USER_RISK_SCORE_NO_DATA_DETECTED).should('be.visible');
});
});
it('shows no data detected prompt for host and user risk scores', () => {
cy.get(HOST_RISK_SCORE_NO_DATA_DETECTED).should('be.visible');
cy.get(USER_RISK_SCORE_NO_DATA_DETECTED).should('be.visible');
});
}
);

describe('With host risk data', () => {
describe('With host risk data', { tags: ['@ess', '@brokenInServerless'] }, () => {
before(() => {
cy.task('esArchiverLoad', { archiveName: 'risk_scores_new' });
login();
Expand Down Expand Up @@ -426,7 +430,7 @@ describe('Entity Analytics Dashboard', { tags: ['@ess', '@serverless'] }, () =>
});
});

describe('With user risk data', () => {
describe('With user risk data', { tags: ['@ess', '@brokenInServerless'] }, () => {
before(() => {
cy.task('esArchiverLoad', { archiveName: 'risk_scores_new' });
login();
Expand Down

0 comments on commit ddec630

Please sign in to comment.