Skip to content

Commit

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

## Summary

- Deletes test file `cases_response_console.cy.ts` - duplicate test.
Coverage already exists under `responder.cy.ts`
    - Fixes elastic#172720 )
- unskips repsonder test
    - Fixes elastic#169894
  • Loading branch information
paul-tavares authored and fkanout committed Mar 4, 2024
1 parent f058f86 commit 3830c8a
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 3830c8a

Please sign in to comment.