Skip to content

Commit

Permalink
[SecuritySolution][Threat Intelligence] - re-enable Cypress test skip…
Browse files Browse the repository at this point in the history
…ped because of removal of bsearch (#195826)
  • Loading branch information
PhilippeOberti authored Oct 11, 2024
1 parent 56b478f commit edd8f08
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,7 @@ const URL = '/app/security/threat_intelligence/indicators';
const URL_WITH_CONTRADICTORY_FILTERS =
'/app/security/threat_intelligence/indicators?indicators=(filterQuery:(language:kuery,query:%27%27),filters:!((%27$state%27:(store:appState),meta:(alias:!n,disabled:!f,index:%27%27,key:threat.indicator.type,negate:!f,params:(query:file),type:phrase),query:(match_phrase:(threat.indicator.type:file))),(%27$state%27:(store:appState),meta:(alias:!n,disabled:!f,index:%27%27,key:threat.indicator.type,negate:!f,params:(query:url),type:phrase),query:(match_phrase:(threat.indicator.type:url)))),timeRange:(from:now/d,to:now/d))';

// Failing: See https://github.com/elastic/kibana/issues/195804
describe.skip('Single indicator', { tags: ['@ess'] }, () => {
describe('Single indicator', { tags: ['@ess'] }, () => {
before(() => cy.task('esArchiverLoad', { archiveName: 'ti_indicators_data_single' }));

after(() => cy.task('esArchiverUnload', { archiveName: 'ti_indicators_data_single' }));
Expand Down Expand Up @@ -299,7 +298,7 @@ describe('Multiple indicators', { tags: ['@ess'] }, () => {

cy.log('should reload the data when refresh button is pressed');

cy.intercept(/bsearch/).as('search');
cy.intercept('POST', '/internal/search/threatIntelligenceSearchStrategy').as('search');
cy.get(REFRESH_BUTTON).should('exist').click();
cy.wait('@search');
});
Expand Down

0 comments on commit edd8f08

Please sign in to comment.