Skip to content

Commit

Permalink
[EDR Workflows] Revert skipped Cypress tests (elastic#204216)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomsonpl authored Dec 13, 2024
1 parent 05e05db commit 6c61ded
Show file tree
Hide file tree
Showing 42 changed files with 41 additions and 87 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,7 @@ const clickArtifactTab = (tabId: string) => {
cy.get(`#${tabId}`).click();
};

// FLAKY: https://github.com/elastic/kibana/issues/171644
// Failing: See https://github.com/elastic/kibana/issues/203935
describe.skip(
describe(
'Artifact tabs in Policy Details page',
{ tags: ['@ess', '@serverless', '@skipInServerlessMKI'] },
() => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ const loginWithoutAccess = (url: string) => {
loadPage(url);
};

// Failing: See https://github.com/elastic/kibana/issues/191914
describe.skip('Artifacts pages', { tags: ['@ess', '@serverless', '@skipInServerlessMKI'] }, () => {
describe('Artifacts pages', { tags: ['@ess', '@serverless', '@skipInServerlessMKI'] }, () => {
let endpointData: ReturnTypeFromChainable<typeof indexEndpointHosts> | undefined;

before(() => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,7 @@ const {
clearMultiValueInput,
} = blocklistFormSelectors;

// Failing: See https://github.com/elastic/kibana/issues/203933
describe.skip(
describe(
'Blocklist',
{
tags: ['@ess', '@serverless', '@serverlessQA'],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@ import { login } from '../../tasks/login';
import type { ReturnTypeFromChainable } from '../../types';

// Skipped in Serverless MKI due to interactions with internal indices
// Failing: See https://github.com/elastic/kibana/issues/194135
// Failing: See https://github.com/elastic/kibana/issues/194135
describe.skip('Event Filters', { tags: ['@ess', '@serverless', '@skipInServerlessMKI'] }, () => {
describe('Event Filters', { tags: ['@ess', '@serverless', '@skipInServerlessMKI'] }, () => {
let endpointData: ReturnTypeFromChainable<typeof indexEndpointHosts> | undefined;

const CONDITION_VALUE = 'valuesAutocompleteMatch';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ const {
expectFieldOptionsNotRendered,
} = trustedAppsFormSelectors;

// Failing: See https://github.com/elastic/kibana/issues/203929
describe.skip(
describe(
'Trusted Apps',
{
tags: ['@ess', '@serverless', '@skipInServerlessMKI'], // @skipInServerlessMKI until kibana is rebuilt after merge
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ import { createEndpointHost } from '../../tasks/create_endpoint_host';
import { deleteAllLoadedEndpointData } from '../../tasks/delete_all_endpoint_data';
import { enableAllPolicyProtections } from '../../tasks/endpoint_policy';

// Failing: See https://github.com/elastic/kibana/issues/203921
describe.skip(
describe(
'Automated Response Actions',
{
tags: ['@ess', '@serverless'],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ import { indexEndpointRuleAlerts } from '../../tasks/index_endpoint_rule_alerts'

import { login, ROLE } from '../../tasks/login';

// Failing: See https://github.com/elastic/kibana/issues/171640
describe.skip(
describe(
'Response actions history page',
{
tags: [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@ import type { ReturnTypeFromChainable } from '../../types';
import { indexEndpointHosts } from '../../tasks/index_endpoint_hosts';
import { indexEndpointRuleAlerts } from '../../tasks/index_endpoint_rule_alerts';

// Failing: See https://github.com/elastic/kibana/issues/203917
// Failing: See https://github.com/elastic/kibana/issues/203917
describe.skip('No License', { tags: '@ess', env: { ftrConfig: { license: 'basic' } } }, () => {
describe('No License', { tags: '@ess', env: { ftrConfig: { license: 'basic' } } }, () => {
describe('User cannot use endpoint action in form', () => {
const [ruleName, ruleDescription] = generateRandomStringName(2);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ import { indexEndpointRuleAlerts } from '../../tasks/index_endpoint_rule_alerts'

import { login, ROLE } from '../../tasks/login';

// FLAKY: https://github.com/elastic/kibana/issues/171665
describe.skip('Results', { tags: ['@ess', '@serverless', '@skipInServerlessMKI'] }, () => {
describe('Results', { tags: ['@ess', '@serverless', '@skipInServerlessMKI'] }, () => {
let endpointData: ReturnTypeFromChainable<typeof indexEndpointHosts> | undefined;
let alertData: ReturnTypeFromChainable<typeof indexEndpointRuleAlerts> | undefined;
const [endpointAgentId, endpointHostname] = generateRandomStringName(2);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@ import { createEndpointHost } from '../../tasks/create_endpoint_host';
import { deleteAllLoadedEndpointData } from '../../tasks/delete_all_endpoint_data';
import { enableAllPolicyProtections } from '../../tasks/endpoint_policy';

// FLAKY: https://github.com/elastic/kibana/issues/168284
describe.skip('Endpoints page', { tags: ['@ess', '@serverless'] }, () => {
describe('Endpoints page', { tags: ['@ess', '@serverless'] }, () => {
let indexedPolicy: IndexedFleetEndpointPolicyResponse;
let policy: PolicyData;
let createdHost: CreateAndEnrollEndpointHostResponse;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ import { indexEndpointHosts } from '../../tasks/index_endpoint_hosts';
import { login } from '../../tasks/login';
import { loadPage } from '../../tasks/common';

// Failing: See https://github.com/elastic/kibana/issues/171639
describe.skip('Endpoints page', { tags: ['@ess', '@serverless', '@brokenInServerless'] }, () => {
describe('Endpoints page', { tags: ['@ess', '@serverless', '@brokenInServerless'] }, () => {
let endpointData: ReturnTypeFromChainable<typeof indexEndpointHosts>;

before(() => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ import { indexEndpointHosts } from '../../tasks/index_endpoint_hosts';
import { login } from '../../tasks/login';
import { loadPage } from '../../tasks/common';

// Failing: See https://github.com/elastic/kibana/issues/203930
describe.skip('Endpoints RBAC', { tags: ['@ess'] }, () => {
describe('Endpoints RBAC', { tags: ['@ess'] }, () => {
type Privilege = 'all' | 'read' | 'none';
const PRIVILEGES: Privilege[] = ['none', 'read', 'all'];

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ import type { IndexedFleetEndpointPolicyResponse } from '../../../../../common/e
import { login } from '../../tasks/login';
import { createAgentPolicyTask, getEndpointIntegrationVersion } from '../../tasks/fleet';

// Failing: See https://github.com/elastic/kibana/issues/203918
describe.skip(
describe(
'Policy List',
{
tags: ['@ess', '@serverless', '@serverlessQA'],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ import { enableAllPolicyProtections } from '../../tasks/endpoint_policy';
import { createEndpointHost } from '../../tasks/create_endpoint_host';
import { deleteAllLoadedEndpointData } from '../../tasks/delete_all_endpoint_data';

// FLAKY: https://github.com/elastic/kibana/issues/179598
describe.skip(
describe(
'Response console: From Alerts',
{ tags: ['@ess', '@serverless', '@brokenInServerless'] },
() => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ import { enableAllPolicyProtections } from '../../tasks/endpoint_policy';
import { createEndpointHost } from '../../tasks/create_endpoint_host';
import { deleteAllLoadedEndpointData } from '../../tasks/delete_all_endpoint_data';

// FLAKY: https://github.com/elastic/kibana/issues/170674
describe.skip('Document signing:', { tags: ['@ess', '@serverless', '@brokenInServerless'] }, () => {
describe('Document signing:', { tags: ['@ess', '@serverless', '@brokenInServerless'] }, () => {
let indexedPolicy: IndexedFleetEndpointPolicyResponse;
let policy: PolicyData;
let createdHost: CreateAndEnrollEndpointHostResponse;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ import { enableAllPolicyProtections } from '../../tasks/endpoint_policy';
import { createEndpointHost } from '../../tasks/create_endpoint_host';
import { deleteAllLoadedEndpointData } from '../../tasks/delete_all_endpoint_data';

// FLAKY: https://github.com/elastic/kibana/issues/169821
describe.skip('Response console', { tags: ['@ess', '@serverless', '@brokenInServerless'] }, () => {
describe('Response console', { tags: ['@ess', '@serverless', '@brokenInServerless'] }, () => {
beforeEach(() => {
login();
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@ import { indexNewCase } from '../../tasks/index_new_case';
import { indexEndpointHosts } from '../../tasks/index_endpoint_hosts';
import { indexEndpointRuleAlerts } from '../../tasks/index_endpoint_rule_alerts';

// Failing: See https://github.com/elastic/kibana/issues/182459
describe.skip('Isolate command', { tags: ['@ess', '@serverless', '@brokenInServerless'] }, () => {
describe('Isolate command', { tags: ['@ess', '@serverless', '@brokenInServerless'] }, () => {
describe('from Manage', () => {
let endpointData: ReturnTypeFromChainable<typeof indexEndpointHosts> | undefined;
let isolatedEndpointData: ReturnTypeFromChainable<typeof indexEndpointHosts> | undefined;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ import { indexEndpointHosts } from '../../tasks/index_endpoint_hosts';
import { login } from '../../tasks/login';
import { loadPage } from '../../tasks/common';

// FLAKY: https://github.com/elastic/kibana/issues/172549
describe.skip(
describe(
'Response actions history page',
{ tags: ['@ess', '@serverless', '@skipInServerlessMKI'] },
() => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ import { enableAllPolicyProtections } from '../../../tasks/endpoint_policy';
import { createEndpointHost } from '../../../tasks/create_endpoint_host';
import { deleteAllLoadedEndpointData } from '../../../tasks/delete_all_endpoint_data';

// FLAKY: https://github.com/elastic/kibana/issues/170373
describe.skip('Response console', { tags: ['@ess', '@serverless'] }, () => {
describe('Response console', { tags: ['@ess', '@serverless'] }, () => {
beforeEach(() => {
login();
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ import { enableAllPolicyProtections } from '../../../tasks/endpoint_policy';
import { createEndpointHost } from '../../../tasks/create_endpoint_host';
import { deleteAllLoadedEndpointData } from '../../../tasks/delete_all_endpoint_data';

// FLAKY: https://github.com/elastic/kibana/issues/170424
describe.skip('Response console', { tags: ['@ess', '@serverless'] }, () => {
describe('Response console', { tags: ['@ess', '@serverless'] }, () => {
beforeEach(() => {
login();
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ import { enableAllPolicyProtections } from '../../../tasks/endpoint_policy';
import { createEndpointHost } from '../../../tasks/create_endpoint_host';
import { deleteAllLoadedEndpointData } from '../../../tasks/delete_all_endpoint_data';

// FLAKY: https://github.com/elastic/kibana/issues/173464
describe.skip('Response console', { tags: ['@ess', '@serverless'] }, () => {
describe('Response console', { tags: ['@ess', '@serverless'] }, () => {
let indexedPolicy: IndexedFleetEndpointPolicyResponse;
let policy: PolicyData;
let createdHost: CreateAndEnrollEndpointHostResponse;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ const AGENT_BEAT_FILE_PATH_SUFFIX = '/components/agentbeat';

// FLAKY: https://github.com/elastic/kibana/issues/170370
// FLAKY: https://github.com/elastic/kibana/issues/170371
// FLAKY: https://github.com/elastic/kibana/issues/170563
describe.skip('Response console', { tags: ['@ess', '@serverless', '@skipInServerlessMKI'] }, () => {
beforeEach(() => {
login();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ import { enableAllPolicyProtections } from '../../../tasks/endpoint_policy';
import { createEndpointHost } from '../../../tasks/create_endpoint_host';
import { deleteAllLoadedEndpointData } from '../../../tasks/delete_all_endpoint_data';

// FLAKY: https://github.com/elastic/kibana/issues/172326
describe.skip('Response console', { tags: ['@ess', '@serverless'] }, () => {
describe('Response console', { tags: ['@ess', '@serverless'] }, () => {
let indexedPolicy: IndexedFleetEndpointPolicyResponse;
let policy: PolicyData;
let createdHost: CreateAndEnrollEndpointHostResponse;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@ import {
import { interceptActionRequests, sendActionResponse } from '../../../tasks/isolate';
import { login } from '../../../tasks/login';

// Failing: See https://github.com/elastic/kibana/issues/203899
// Failing: See https://github.com/elastic/kibana/issues/203899
describe.skip('Response console', { tags: ['@ess', '@serverless', '@brokenInServerless'] }, () => {
describe('Response console', { tags: ['@ess', '@serverless', '@brokenInServerless'] }, () => {
beforeEach(() => {
login();
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ import {
import { interceptActionRequests, sendActionResponse } from '../../../tasks/isolate';
import { login } from '../../../tasks/login';

// Failing: See https://github.com/elastic/kibana/issues/203905
describe.skip('Response console', { tags: ['@ess', '@serverless', '@brokenInServerless'] }, () => {
describe('Response console', { tags: ['@ess', '@serverless', '@brokenInServerless'] }, () => {
beforeEach(() => {
login();
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ import {
} from '../../../tasks/isolate';
import { login } from '../../../tasks/login';

// Failing: See https://github.com/elastic/kibana/issues/203896
describe.skip('Response console', { tags: ['@ess', '@serverless', '@brokenInServerless'] }, () => {
describe('Response console', { tags: ['@ess', '@serverless', '@brokenInServerless'] }, () => {
beforeEach(() => {
login();
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ import {
import { interceptActionRequests, sendActionResponse } from '../../../tasks/isolate';
import { login } from '../../../tasks/login';

// Failing: See https://github.com/elastic/kibana/issues/203919
describe.skip('Response console', { tags: ['@ess', '@serverless', '@brokenInServerless'] }, () => {
describe('Response console', { tags: ['@ess', '@serverless', '@brokenInServerless'] }, () => {
beforeEach(() => {
login();
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ import {
import { interceptActionRequests, sendActionResponse } from '../../../tasks/isolate';
import { login } from '../../../tasks/login';

// Failing: See https://github.com/elastic/kibana/issues/203907
describe.skip('Response console', { tags: ['@ess', '@serverless', '@brokenInServerless'] }, () => {
describe('Response console', { tags: ['@ess', '@serverless', '@brokenInServerless'] }, () => {
beforeEach(() => {
login();
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ import {
} from '../../../tasks/isolate';
import { login } from '../../../tasks/login';

// Failing: See https://github.com/elastic/kibana/issues/203904
describe.skip('Response console', { tags: ['@ess', '@serverless', '@brokenInServerless'] }, () => {
describe('Response console', { tags: ['@ess', '@serverless', '@brokenInServerless'] }, () => {
beforeEach(() => {
login();
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ import {
import { interceptActionRequests, sendActionResponse } from '../../../tasks/isolate';
import { login } from '../../../tasks/login';

// Failing: See https://github.com/elastic/kibana/issues/180388
describe.skip('Response console', { tags: ['@ess', '@serverless', '@brokenInServerless'] }, () => {
describe('Response console', { tags: ['@ess', '@serverless', '@brokenInServerless'] }, () => {
beforeEach(() => {
login();
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ import {
visitEndpointList,
} from '../../screens';

// FLAKY: https://github.com/elastic/kibana/issues/171643
describe.skip(
describe(
'When on the Endpoint List in Security Essentials PLI',
{
tags: ['@serverless', '@skipInServerlessMKI'],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@ import {
visitPolicyList,
} from '../../../screens';

// FLAKY: https://github.com/elastic/kibana/issues/170052
describe.skip(
describe(
'User Roles for Security Complete PLI with Endpoint Complete addon',
{
tags: ['@serverless', '@skipInServerlessMKI'],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ import { enableAllPolicyProtections } from '../../../tasks/endpoint_policy';
import { createEndpointHost } from '../../../tasks/create_endpoint_host';
import { deleteAllLoadedEndpointData } from '../../../tasks/delete_all_endpoint_data';

// Failing: See https://github.com/elastic/kibana/issues/203913
describe.skip(
describe(
'Unenroll agent from fleet with agent tamper protection is disabled',
{ tags: ['@ess'] },
() => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ import { enableAllPolicyProtections } from '../../../tasks/endpoint_policy';
import { createEndpointHost } from '../../../tasks/create_endpoint_host';
import { deleteAllLoadedEndpointData } from '../../../tasks/delete_all_endpoint_data';

// Failing: See https://github.com/elastic/kibana/issues/203911
describe.skip(
describe(
'Uninstall agent from host when agent tamper protection is disabled',
{ tags: ['@ess'] },
() => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ import { login } from '../../../tasks/login';
import { createEndpointHost } from '../../../tasks/create_endpoint_host';
import { deleteAllLoadedEndpointData } from '../../../tasks/delete_all_endpoint_data';

// Failing: See https://github.com/elastic/kibana/issues/182451
describe.skip(
describe(
'Unenroll agent from fleet when agent tamper protection is enabled',
{ tags: ['@ess'] },
() => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ import { login } from '../../../tasks/login';
import { createEndpointHost } from '../../../tasks/create_endpoint_host';
import { deleteAllLoadedEndpointData } from '../../../tasks/delete_all_endpoint_data';

// Failing: See https://github.com/elastic/kibana/issues/182448
describe.skip(
describe(
'Uninstall agent from host when agent tamper protection is enabled',
{ tags: ['@ess'] },
() => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ import { enableAllPolicyProtections } from '../../../tasks/endpoint_policy';
import { createEndpointHost } from '../../../tasks/create_endpoint_host';
import { deleteAllLoadedEndpointData } from '../../../tasks/delete_all_endpoint_data';

// Failing: See https://github.com/elastic/kibana/issues/203932
describe.skip(
describe(
'Unenroll agent from fleet when agent tamper protection is disabled but then is switched to a policy with it enabled',
{ tags: ['@ess'] },
() => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ import { enableAllPolicyProtections } from '../../../tasks/endpoint_policy';
import { createEndpointHost } from '../../../tasks/create_endpoint_host';
import { deleteAllLoadedEndpointData } from '../../../tasks/delete_all_endpoint_data';

// Failing: See https://github.com/elastic/kibana/issues/203934
describe.skip(
describe(
'Unenroll agent from fleet changing when agent tamper protection is enabled but then is switched to a policy with it disabled',
{ tags: ['@ess'] },
() => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ import { login } from '../../../tasks/login';
import { createEndpointHost } from '../../../tasks/create_endpoint_host';
import { deleteAllLoadedEndpointData } from '../../../tasks/delete_all_endpoint_data';

// Failing: See https://github.com/elastic/kibana/issues/182505
describe.skip(
describe(
'Unenroll agent from fleet changing agent policy when agent tamper protection is enabled but then is switched to a policy with it also enabled',
{ tags: ['@ess'] },
() => {
Expand Down
Loading

0 comments on commit 6c61ded

Please sign in to comment.