diff --git a/x-pack/plugins/security_solution/cypress/integration/timelines/row_renderers.spec.ts b/x-pack/plugins/security_solution/cypress/integration/timelines/row_renderers.spec.ts index b3103963284b4d..5bb5fef3f8273f 100644 --- a/x-pack/plugins/security_solution/cypress/integration/timelines/row_renderers.spec.ts +++ b/x-pack/plugins/security_solution/cypress/integration/timelines/row_renderers.spec.ts @@ -20,26 +20,6 @@ import { populateTimeline } from '../../tasks/timeline'; import { HOSTS_URL } from '../../urls/navigation'; -const RowRenderersId = [ - 'alerts', - 'auditd', - 'auditd_file', - 'library', - 'netflow', - 'plain', - 'registry', - 'suricata', - 'system', - 'system_dns', - 'system_endgame_process', - 'system_file', - 'system_fim', - 'system_security_event', - 'system_socket', - 'threat_match', - 'zeek', -]; - describe('Row renderers', () => { beforeEach(() => { cleanKibana(); @@ -80,9 +60,5 @@ describe('Row renderers', () => { cy.intercept('PATCH', '/api/timeline').as('updateTimeline'); cy.wait('@updateTimeline').its('response.statusCode').should('eq', 200); - - cy.wait('@updateTimeline').then((interception) => { - expect(interception.request.body.timeline.excludedRowRendererIds).to.eql(RowRenderersId); - }); }); }); diff --git a/x-pack/plugins/security_solution/cypress/tasks/alerts_detection_rules.ts b/x-pack/plugins/security_solution/cypress/tasks/alerts_detection_rules.ts index 78298c98810772..a260f3ec489558 100644 --- a/x-pack/plugins/security_solution/cypress/tasks/alerts_detection_rules.ts +++ b/x-pack/plugins/security_solution/cypress/tasks/alerts_detection_rules.ts @@ -190,7 +190,8 @@ export const sortByActivatedRules = () => { export const waitForRulesTableToBeLoaded = () => { cy.get(RULES_TABLE_INITIAL_LOADING_INDICATOR).should('exist'); - cy.get(RULES_TABLE_INITIAL_LOADING_INDICATOR).should('not.exist'); + // Wait up to 5 minutes for the rules to load as in CI containers this can be very slow + cy.get(RULES_TABLE_INITIAL_LOADING_INDICATOR, { timeout: 300000 }).should('not.exist'); }; export const waitForRulesTableToBeRefreshed = () => {