Skip to content

Commit

Permalink
[Security Solution] Unskip remaining Cypress tests from RAC rules mig…
Browse files Browse the repository at this point in the history
…ration (elastic#122661)

* Unskip indicator match timeline test

* Unskip fields_browser tests

* Enable alert_summary tests

* add cti feed enrichment

* Fix accessibility text in indicator match cypress test

* Adjust fields_browser test to account for removed field

* Correct indicator_match row renderer text in cypress test

* Revert "Enable alert_summary tests"

This reverts commit 05d549e.

(cherry picked from commit 59be3ca)
  • Loading branch information
madirey authored and kibanamachine committed Jan 13, 2022
1 parent ecd2e86 commit 69cc8bb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,7 @@ describe('indicator match', () => {
cy.get(ALERT_RISK_SCORE).first().should('have.text', getNewThreatIndicatorRule().riskScore);
});

it.skip('Investigate alert in timeline', () => {
it('Investigate alert in timeline', () => {
const accessibilityText = `Press enter for options, or press space to begin dragging.`;

loadPrepackagedTimelineTemplates();
Expand Down Expand Up @@ -540,7 +540,8 @@ describe('indicator match', () => {
getNewThreatIndicatorRule().indicatorMappingField
}${accessibilityText}matched${getNewThreatIndicatorRule().indicatorMappingField}${
getNewThreatIndicatorRule().atomic
}${accessibilityText}threat.enrichments.matched.typeindicator_match_rule${accessibilityText}`
}${accessibilityText}threat.enrichments.matched.typeindicator_match_rule${accessibilityText}provided` +
` byfeed.nameAbuseCH malware${accessibilityText}`
);
});
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,12 +104,12 @@ describe('Fields Browser', () => {
});
});

it.skip('displays a count of only the fields in the selected category that match the filter input', () => {
it('displays a count of only the fields in the selected category that match the filter input', () => {
const filterInput = 'host.geo.c';

filterFieldsBrowser(filterInput);

cy.get(FIELDS_BROWSER_SELECTED_CATEGORY_COUNT).should('have.text', '5');
cy.get(FIELDS_BROWSER_SELECTED_CATEGORY_COUNT).should('have.text', '4');
});
});

Expand Down

0 comments on commit 69cc8bb

Please sign in to comment.