Skip to content

Commit

Permalink
[Security Solution][Endpoint] Un-skip response console Cy tests (#177726
Browse files Browse the repository at this point in the history
)

## Summary

- Deletes test file `cases_response_console.cy.ts` - duplicate test.
Coverage already exists under `responder.cy.ts`
    - Fixes #172720 )
- unskips repsonder test
    - Fixes #169894
  • Loading branch information
paul-tavares authored Feb 27, 2024
1 parent 885e74b commit 6103c28
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 131 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,11 @@ describe('When accessing Endpoint Response Console', { tags: ['@ess', '@serverle
closeResponder();
};

before(() => {
beforeEach(() => {
login();
});

// FLAKY: https://github.com/elastic/kibana/issues/169894
describe.skip('from Cases', () => {
describe('from Cases', () => {
let endpointData: ReturnTypeFromChainable<typeof indexEndpointHosts>;
let caseData: ReturnTypeFromChainable<typeof indexNewCase>;
let alertData: ReturnTypeFromChainable<typeof indexEndpointRuleAlerts>;
Expand All @@ -51,7 +50,7 @@ describe('When accessing Endpoint Response Console', { tags: ['@ess', '@serverle

const openCaseAlertDetails = () => {
cy.getByTestSubj(`comment-action-show-alert-${caseAlertActions.comments[alertId]}`).click();
cy.getByTestSubj('take-action-dropdown-btn').click();
return cy.getByTestSubj('take-action-dropdown-btn').click();
};

before(() => {
Expand Down Expand Up @@ -100,10 +99,6 @@ describe('When accessing Endpoint Response Console', { tags: ['@ess', '@serverle
}
});

beforeEach(() => {
login();
});

it('should display responder option in take action menu', () => {
loadPage(caseUrlPath);
closeAllToasts();
Expand Down

0 comments on commit 6103c28

Please sign in to comment.