[8.x] [Security Solution] [Defend Workflows] Enables skipped tests in 9.0 (#213399) (#214130)

# Backport

This will backport the following commits from `main` to `8.x`:
- [[Security Solution] [Defend Workflows] Enables skipped tests in 9.0
(#213399)](https://github.com/elastic/kibana/pull/213399)

<!--- Backport version: 9.6.6 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT [{"author":{"name":"David
Sánchez","email":"david.sanchezsoler@elastic.co"},"sourceCommit":{"committedDate":"2025-03-12T10:43:40Z","message":"[Security
Solution] [Defend Workflows] Enables skipped tests in 9.0
(#213399)\n\n## Summary\n\nEnables skipped tests in 9.0 and previous
stack versions.\n\ncloses:
https://github.com/elastic/kibana/issues/180401\ncloses:
https://github.com/elastic/kibana/issues/203894\ncloses:
https://github.com/elastic/kibana/issues/205141\ncloses:
https://github.com/elastic/kibana/issues/206204\ncloses:
https://github.com/elastic/kibana/issues/209056\ncloses:
https://github.com/elastic/kibana/issues/209064\ncloses:
https://github.com/elastic/kibana/issues/209063\ncloses:
https://github.com/elastic/kibana/issues/209066\ncloses:
https://github.com/elastic/kibana/issues/209065\n\nThis one will be
tracked in a follow up
pr:\nhttps://github.com/elastic/kibana/issues/203916\n\n---------\n\nCo-authored-by:
Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"87e2edd5992399a1d239a01839f23b2e9f8dc63a","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:Defend
Workflows","backport:version","v8.18.0","v9.1.0","v8.19.0"],"title":"[Security
Solution] [Defend Workflows] Enables skipped tests in
9.0","number":213399,"url":"https://github.com/elastic/kibana/pull/213399","mergeCommit":{"message":"[Security
Solution] [Defend Workflows] Enables skipped tests in 9.0
(#213399)\n\n## Summary\n\nEnables skipped tests in 9.0 and previous
stack versions.\n\ncloses:
https://github.com/elastic/kibana/issues/180401\ncloses:
https://github.com/elastic/kibana/issues/203894\ncloses:
https://github.com/elastic/kibana/issues/205141\ncloses:
https://github.com/elastic/kibana/issues/206204\ncloses:
https://github.com/elastic/kibana/issues/209056\ncloses:
https://github.com/elastic/kibana/issues/209064\ncloses:
https://github.com/elastic/kibana/issues/209063\ncloses:
https://github.com/elastic/kibana/issues/209066\ncloses:
https://github.com/elastic/kibana/issues/209065\n\nThis one will be
tracked in a follow up
pr:\nhttps://github.com/elastic/kibana/issues/203916\n\n---------\n\nCo-authored-by:
Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"87e2edd5992399a1d239a01839f23b2e9f8dc63a"}},"sourceBranch":"main","suggestedTargetBranches":["8.18","8.x"],"targetPullRequestStates":[{"branch":"9.0","label":"v9.0.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/214129","number":214129,"state":"OPEN"},{"branch":"8.18","label":"v8.18.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/213399","number":213399,"mergeCommit":{"message":"[Security
Solution] [Defend Workflows] Enables skipped tests in 9.0
(#213399)\n\n## Summary\n\nEnables skipped tests in 9.0 and previous
stack versions.\n\ncloses:
https://github.com/elastic/kibana/issues/180401\ncloses:
https://github.com/elastic/kibana/issues/203894\ncloses:
https://github.com/elastic/kibana/issues/205141\ncloses:
https://github.com/elastic/kibana/issues/206204\ncloses:
https://github.com/elastic/kibana/issues/209056\ncloses:
https://github.com/elastic/kibana/issues/209064\ncloses:
https://github.com/elastic/kibana/issues/209063\ncloses:
https://github.com/elastic/kibana/issues/209066\ncloses:
https://github.com/elastic/kibana/issues/209065\n\nThis one will be
tracked in a follow up
pr:\nhttps://github.com/elastic/kibana/issues/203916\n\n---------\n\nCo-authored-by:
Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"87e2edd5992399a1d239a01839f23b2e9f8dc63a"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->
This commit is contained in:
David Sánchez 2025-03-12 14:33:48 +01:00 committed by GitHub
parent 2c5600bd01
commit aef110ddaf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 6 additions and 15 deletions

View file

@ -22,9 +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/209063
// FLAKY: https://github.com/elastic/kibana/issues/209064
describe.skip('Document signing:', { tags: ['@ess', '@serverless', '@brokenInServerless'] }, () => {
describe('Document signing:', { tags: ['@ess', '@serverless', '@brokenInServerless'] }, () => {
let indexedPolicy: IndexedFleetEndpointPolicyResponse;
let policy: PolicyData;
let createdHost: CreateAndEnrollEndpointHostResponse;

View file

@ -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/206204
describe.skip('Response console', { tags: ['@ess', '@serverless'] }, () => {
describe('Response console', { tags: ['@ess', '@serverless'] }, () => {
beforeEach(() => {
login();
});

View file

@ -21,9 +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/209066
// Failing: See https://github.com/elastic/kibana/issues/209065
describe.skip('Response console', { tags: ['@ess', '@serverless'] }, () => {
describe('Response console', { tags: ['@ess', '@serverless'] }, () => {
beforeEach(() => {
login();
});

View file

@ -23,8 +23,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/209056
describe.skip(
describe(
'Uninstall agent from host changing agent policy when agent tamper protection is enabled but then is switched to a policy with it disabled',
{ tags: ['@ess'] },
() => {

View file

@ -24,8 +24,7 @@ jest.mock('../../../../../../common/hooks/use_license');
const useLicenseMock = _useLicense as jest.Mock;
// Failing: See https://github.com/elastic/kibana/issues/205141
describe.skip('Policy Advanced Settings section', () => {
describe('Policy Advanced Settings section', () => {
const testSubj = getPolicySettingsFormTestSubjects('test').advancedSection;
let formProps: AdvancedSectionProps;

View file

@ -12,9 +12,7 @@ import { FtrProviderContext } from '../../configs/ftr_provider_context';
export default function (providerContext: FtrProviderContext) {
const { loadTestFile, getService, getPageObjects } = providerContext;
// FLAKY: https://github.com/elastic/kibana/issues/180401
// FLAKY: https://github.com/elastic/kibana/issues/203894
describe.skip('endpoint', function () {
describe('endpoint', function () {
const ingestManager = getService('ingestManager');
const log = getService('log');
const endpointTestResources = getService('endpointTestResources');