[EDR Workflows] Fix flaky osquery test (#185819)

This commit is contained in:
Tomasz Ciecierski 2024-06-10 18:50:09 +02:00 committed by GitHub
parent 38897c435d
commit 70df50948d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -40,8 +40,7 @@ import { cleanupPack, cleanupAgentPolicy } from '../../tasks/api_fixtures';
import { request } from '../../tasks/common';
import { ServerlessRoleName } from '../../support/roles';
// Failing: See https://github.com/elastic/kibana/issues/176543
describe.skip('ALL - Packs', { tags: ['@ess', '@serverless'] }, () => {
describe('ALL - Packs', { tags: ['@ess', '@serverless'] }, () => {
const integration = 'Osquery Manager';
describe(
@ -165,8 +164,9 @@ describe.skip('ALL - Packs', { tags: ['@ess', '@serverless'] }, () => {
cy.contains('Run a set of queries in a pack.').click();
cy.getBySel(LIVE_QUERY_EDITOR).should('not.exist');
cy.getBySel('globalLoadingIndicator').should('not.exist');
cy.getBySel('select-live-pack').click().type('osquery-monitoring{downArrow}{enter}');
selectAllAgents();
cy.getBySel('select-live-pack').click();
cy.getBySel('select-live-pack').type('osquery-monitoring{downArrow}{enter}');
submitQuery();
cy.getBySel('toggleIcon-events').click();
checkResults();