mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 01:13:23 -04:00
[EDR Workflows] remove checking the step tour (#187223)
This commit is contained in:
parent
9682968003
commit
a7ef2f4d1b
5 changed files with 6 additions and 36 deletions
|
@ -23,14 +23,9 @@ import {
|
|||
submitQuery,
|
||||
viewRecentCaseAndCheckResults,
|
||||
} from '../../tasks/live_query';
|
||||
import {
|
||||
closeAlertsStepTourIfVisible,
|
||||
generateRandomStringName,
|
||||
interceptCaseId,
|
||||
} from '../../tasks/integrations';
|
||||
import { generateRandomStringName, interceptCaseId } from '../../tasks/integrations';
|
||||
|
||||
// Failing: See https://github.com/elastic/kibana/issues/187182
|
||||
describe.skip('Alert Event Details - Cases', { tags: ['@ess', '@serverless'] }, () => {
|
||||
describe('Alert Event Details - Cases', { tags: ['@ess', '@serverless'] }, () => {
|
||||
let ruleId: string;
|
||||
let packId: string;
|
||||
let packName: string;
|
||||
|
@ -71,7 +66,6 @@ describe.skip('Alert Event Details - Cases', { tags: ['@ess', '@serverless'] },
|
|||
it('runs osquery against alert and creates a new case', () => {
|
||||
const [caseName, caseDescription] = generateRandomStringName(2);
|
||||
cy.getBySel('expand-event').first().click();
|
||||
closeAlertsStepTourIfVisible();
|
||||
cy.getBySel('take-action-dropdown-btn').click();
|
||||
cy.getBySel('osquery-action-item').click();
|
||||
cy.contains(/^\d+ agen(t|ts) selected/);
|
||||
|
@ -107,7 +101,6 @@ describe.skip('Alert Event Details - Cases', { tags: ['@ess', '@serverless'] },
|
|||
|
||||
it('sees osquery results from last action and add to a case', () => {
|
||||
cy.getBySel('expand-event').first().click();
|
||||
closeAlertsStepTourIfVisible();
|
||||
cy.getBySel('securitySolutionFlyoutResponseSectionHeader').click();
|
||||
cy.getBySel('securitySolutionFlyoutResponseButton').click();
|
||||
cy.getBySel('responseActionsViewWrapper').should('exist');
|
||||
|
|
|
@ -15,15 +15,10 @@ import {
|
|||
selectAllAgents,
|
||||
submitQuery,
|
||||
} from '../../tasks/live_query';
|
||||
import {
|
||||
closeAlertsStepTourIfVisible,
|
||||
closeModalIfVisible,
|
||||
closeToastIfVisible,
|
||||
} from '../../tasks/integrations';
|
||||
import { closeModalIfVisible, closeToastIfVisible } from '../../tasks/integrations';
|
||||
import { RESULTS_TABLE, RESULTS_TABLE_BUTTON } from '../../screens/live_query';
|
||||
|
||||
// Failing: See https://github.com/elastic/kibana/issues/180852
|
||||
describe.skip(
|
||||
describe(
|
||||
'Alert Event Details',
|
||||
{
|
||||
tags: ['@ess', '@serverless'],
|
||||
|
@ -74,7 +69,6 @@ describe.skip(
|
|||
it('should be able to run live query and add to timeline', () => {
|
||||
const TIMELINE_NAME = 'Untitled timeline';
|
||||
cy.getBySel('expand-event').first().click();
|
||||
closeAlertsStepTourIfVisible();
|
||||
cy.getBySel('take-action-dropdown-btn').click();
|
||||
cy.getBySel('osquery-action-item').click();
|
||||
cy.contains('1 agent selected.');
|
||||
|
|
|
@ -14,10 +14,8 @@ import {
|
|||
takeOsqueryActionWithParams,
|
||||
} from '../../tasks/live_query';
|
||||
import { OSQUERY_FLYOUT_BODY_EDITOR } from '../../screens/live_query';
|
||||
import { closeAlertsStepTourIfVisible } from '../../tasks/integrations';
|
||||
|
||||
// Failing: See https://github.com/elastic/kibana/issues/180851
|
||||
describe.skip(
|
||||
describe(
|
||||
'Alert Event Details - dynamic params',
|
||||
{
|
||||
tags: ['@ess', '@serverless'],
|
||||
|
@ -44,7 +42,6 @@ describe.skip(
|
|||
|
||||
it('should substitute parameters in investigation guide', () => {
|
||||
cy.getBySel('expand-event').first().click();
|
||||
closeAlertsStepTourIfVisible();
|
||||
cy.getBySel('securitySolutionFlyoutInvestigationGuideButton').click();
|
||||
// Flakes at times if the button is only clicked once
|
||||
cy.contains('Get processes').should('be.visible').dblclick({ force: true });
|
||||
|
|
|
@ -9,10 +9,8 @@ import { initializeDataViews } from '../../tasks/login';
|
|||
import { checkResults, clickRuleName, submitQuery } from '../../tasks/live_query';
|
||||
import { loadRule, cleanupRule } from '../../tasks/api_fixtures';
|
||||
import { ServerlessRoleName } from '../../support/roles';
|
||||
import { closeAlertsStepTourIfVisible } from '../../tasks/integrations';
|
||||
|
||||
// Failing: See https://github.com/elastic/kibana/issues/180853
|
||||
describe.skip('Alert Test', { tags: ['@ess'] }, () => {
|
||||
describe('Alert Test', { tags: ['@ess'] }, () => {
|
||||
let ruleName: string;
|
||||
let ruleId: string;
|
||||
|
||||
|
@ -31,7 +29,6 @@ describe.skip('Alert Test', { tags: ['@ess'] }, () => {
|
|||
cy.visit('/app/security/rules');
|
||||
clickRuleName(ruleName);
|
||||
cy.getBySel('expand-event').first().click({ force: true });
|
||||
closeAlertsStepTourIfVisible();
|
||||
|
||||
cy.wait(500);
|
||||
cy.getBySel('securitySolutionFlyoutInvestigationGuideButton').click();
|
||||
|
|
|
@ -16,7 +16,6 @@ import {
|
|||
DATA_COLLECTION_SETUP_STEP,
|
||||
DATE_PICKER_ABSOLUTE_TAB,
|
||||
DATE_PICKER_ABSOLUTE_TAB_SEL,
|
||||
SECURITY_SOLUTION_FLYOUT_TOUR_SEL,
|
||||
TOAST_CLOSE_BTN,
|
||||
TOAST_CLOSE_BTN_SEL,
|
||||
} from '../screens/integrations';
|
||||
|
@ -136,16 +135,6 @@ export function closeToastIfVisible() {
|
|||
});
|
||||
}
|
||||
|
||||
export function closeAlertsStepTourIfVisible() {
|
||||
cy.get(SECURITY_SOLUTION_FLYOUT_TOUR_SEL).then(($el) => {
|
||||
if ($el.length > 0) {
|
||||
cy.wrap($el).within(() => {
|
||||
cy.contains('Exit').click();
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
export const deleteIntegrations = async (integrationName: string) => {
|
||||
const ids: string[] = [];
|
||||
cy.contains(integrationName)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue