Skip to content

Commit

Permalink
[Security Solution][Endpoint] Re-enable tests for automated response …
Browse files Browse the repository at this point in the history
…actions from alerts (elastic#182102)

## Summary

Re-enable skipped test for automated response actions from alerts.
closes elastic/issues/169828

#### Flaky runner
-
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/5809
x 50 (1 fail)
-
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/5851
x 50 (all pass)

### Checklist

- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [x] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
  • Loading branch information
ashokaditya authored May 6, 2024
1 parent 2df9ad8 commit 8096baf
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 @@ -74,7 +74,9 @@ export const getCypressBaseConfig = (
// baseUrl: To override, set Env. variable `CYPRESS_BASE_URL`
baseUrl: 'http://localhost:5601',
supportFile: 'public/management/cypress/support/e2e.ts',
specPattern: 'public/management/cypress/e2e/**/*.cy.{js,jsx,ts,tsx}',
// TODO: undo before merge
specPattern:
'public/management/cypress/e2e/**/**/automated_response_actions.cy.{js,jsx,ts,tsx}',
experimentalRunAllSpecs: true,
experimentalMemoryManagement: true,
experimentalInteractiveRunEvents: true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,7 @@ describe(
login();
});

// FLAKY: https://github.com/elastic/kibana/issues/169828
describe.skip('From alerts', () => {
describe('From alerts', () => {
let ruleId: string;
let ruleName: string;

Expand All @@ -100,7 +99,7 @@ describe(
visitRuleAlerts(ruleName);
closeAllToasts();

changeAlertsFilter('process.name: "sshd"');
changeAlertsFilter('process.name: "agentbeat"');
cy.getByTestSubj('expand-event').eq(0).click();
cy.getByTestSubj('securitySolutionFlyoutNavigationExpandDetailButton').click();
cy.getByTestSubj('securitySolutionFlyoutResponseTab').click();
Expand Down

0 comments on commit 8096baf

Please sign in to comment.