Skip to content

Commit

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

Delete responder test skipped in elastic/pull/170489.
We've cypress tests that cover the test cases here.

### Flaky runner
-
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/4937
x 50 (...)

### Checklist

- [x] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
  • Loading branch information
ashokaditya authored and semd committed Mar 4, 2024
1 parent 538d718 commit ba82001
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 ba82001

Please sign in to comment.