Skip to content

Commit

Permalink
PR feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
hop-dev committed Jan 17, 2024
1 parent 3c973cc commit a2c689b
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,11 @@ describe(
mockRiskEngineEnabled();
login();
visitWithTimeRange(ALERTS_URL);
waitForAlerts();
});

describe('User details', () => {
it('should display entity flyout and open risk input panel', () => {
waitForAlerts();
expandFirstAlertUserFlyout();

cy.log('header section');
Expand All @@ -69,17 +69,14 @@ describe(
});

it('should show asset criticality in the risk input panel', () => {
waitForAlerts();
expandFirstAlertUserFlyout();
expandRiskInputsFlyoutPanel();
cy.get(ASSET_CRITICALITY_BADGE).should('exist');
cy.get(ASSET_CRITICALITY_BADGE).should('contain.text', 'Very important');
});
});

describe('Host details', () => {
it('should display entity flyout and open risk input panel', () => {
waitForAlerts();
expandFirstAlertHostFlyout();

cy.log('header section');
Expand All @@ -94,7 +91,6 @@ describe(
waitForAlerts();
expandFirstAlertHostFlyout();
expandRiskInputsFlyoutPanel();
cy.get(ASSET_CRITICALITY_BADGE).should('exist');
cy.get(ASSET_CRITICALITY_BADGE).should('contain.text', 'Very important');
});
});
Expand Down

0 comments on commit a2c689b

Please sign in to comment.