Skip to content

Commit

Permalink
[8.12] [Security Solution][Endpoint] Remove responder FTR test (elast…
Browse files Browse the repository at this point in the history
…ic#175454) (elastic#177739)

# Backport

This will backport the following commits from `main` to `8.12`:
- [[Security Solution][Endpoint] Remove responder FTR test
(elastic#175454)](elastic#175454)

<!--- Backport version: 9.4.3 -->

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

<!--BACKPORT
[{"author":{"name":"Ash","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-02-23T17:02:47Z","message":"[Security
Solution][Endpoint] Remove responder FTR test (elastic#175454)\n\n##
Summary\r\n\r\nDelete responder test skipped in
elastic/pull/170489.\r\nWe've cypress tests that cover the test
cases here.\r\n\r\n### Flaky
runner\r\n-\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/4937\r\nx
50 (...)\r\n\r\n### Checklist\r\n\r\n- [x] [Flaky
Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\r\nused on any tests
changed","sha":"db8440dc5b0d56bb147b6c629d9ea229ccf96fcf","branchLabelMapping":{"^v8.14.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Defend
Workflows","OLM
Sprint","v8.12.1","v8.13.0","v8.14.0"],"title":"[Security
Solution][Endpoint] Remove responder FTR
test","number":175454,"url":"https://github.com/elastic/kibana/pull/175454","mergeCommit":{"message":"[Security
Solution][Endpoint] Remove responder FTR test (elastic#175454)\n\n##
Summary\r\n\r\nDelete responder test skipped in
elastic/pull/170489.\r\nWe've cypress tests that cover the test
cases here.\r\n\r\n### Flaky
runner\r\n-\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/4937\r\nx
50 (...)\r\n\r\n### Checklist\r\n\r\n- [x] [Flaky
Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\r\nused on any tests
changed","sha":"db8440dc5b0d56bb147b6c629d9ea229ccf96fcf"}},"sourceBranch":"main","suggestedTargetBranches":["8.12","8.13"],"targetPullRequestStates":[{"branch":"8.12","label":"v8.12.1","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.13","label":"v8.13.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.14.0","branchLabelMappingKey":"^v8.14.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/175454","number":175454,"mergeCommit":{"message":"[Security
Solution][Endpoint] Remove responder FTR test (elastic#175454)\n\n##
Summary\r\n\r\nDelete responder test skipped in
elastic/pull/170489.\r\nWe've cypress tests that cover the test
cases here.\r\n\r\n### Flaky
runner\r\n-\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/4937\r\nx
50 (...)\r\n\r\n### Checklist\r\n\r\n- [x] [Flaky
Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\r\nused on any tests
changed","sha":"db8440dc5b0d56bb147b6c629d9ea229ccf96fcf"}}]}]
BACKPORT-->

Co-authored-by: Ash <[email protected]>
  • Loading branch information
kibanamachine and ashokaditya authored Feb 23, 2024
1 parent 8504989 commit 4f3971a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 248 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ export default function (providerContext: FtrProviderContext) {
loadTestFile(require.resolve('./endpoint_list'));
loadTestFile(require.resolve('./endpoint_telemetry'));
loadTestFile(require.resolve('./endpoint_permissions'));
loadTestFile(require.resolve('./responder'));
loadTestFile(require.resolve('./endpoint_solution_integrations'));
});
}
247 changes: 0 additions & 247 deletions x-pack/test/security_solution_endpoint/apps/endpoint/responder.ts

This file was deleted.

3 changes: 3 additions & 0 deletions x-pack/test/security_solution_ftr/services/timeline/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ export class TimelineTestService extends FtrService {
await this.supertest
.post(TIMELINE_DRAFT_URL)
.set('kbn-xsrf', 'true')
.set('elastic-api-version', '2023-10-31')
.send({ timelineType: 'default' })
.then(this.getHttpResponseFailureHandler())
.then((response) => response.body as TimelineResponse)
Expand Down Expand Up @@ -112,6 +113,7 @@ export class TimelineTestService extends FtrService {
return await this.supertest
.patch(TIMELINE_URL)
.set('kbn-xsrf', 'true')
.set('elastic-api-version', '2023-10-31')
.send({
timelineId,
version,
Expand All @@ -126,6 +128,7 @@ export class TimelineTestService extends FtrService {
await this.supertest
.delete(TIMELINE_URL)
.set('kbn-xsrf', 'true')
.set('elastic-api-version', '2023-10-31')
.send({
savedObjectIds: Array.isArray(id) ? id : [id],
})
Expand Down

0 comments on commit 4f3971a

Please sign in to comment.