Skip to content

Commit

Permalink
[8.x] [Security Solution] - fix Cypress not running locally (#193622) (
Browse files Browse the repository at this point in the history
…#193788)

# Backport

This will backport the following commits from `main` to `8.x`:
- [[Security Solution] - fix Cypress not running locally
(#193622)](#193622)

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

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

<!--BACKPORT [{"author":{"name":"Philippe
Oberti","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-09-23T19:22:11Z","message":"[Security
Solution] - fix Cypress not running locally
(#193622)","sha":"f6c5dd99c6d67e0ba7846e262a1ef401d3e37f03","branchLabelMapping":{"^v9.0.0$":"main","^v8.16.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["backport","release_note:skip","v9.0.0","Team:Threat
Hunting","Team: SecuritySolution","v8.16.0"],"title":"[Security
Solution] - fix Cypress not running
locally","number":193622,"url":"https://github.com/elastic/kibana/pull/193622","mergeCommit":{"message":"[Security
Solution] - fix Cypress not running locally
(#193622)","sha":"f6c5dd99c6d67e0ba7846e262a1ef401d3e37f03"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/193622","number":193622,"mergeCommit":{"message":"[Security
Solution] - fix Cypress not running locally
(#193622)","sha":"f6c5dd99c6d67e0ba7846e262a1ef401d3e37f03"}},{"branch":"8.x","label":"v8.16.0","branchLabelMappingKey":"^v8.16.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Philippe Oberti <[email protected]>
  • Loading branch information
kibanamachine and PhilippeOberti authored Sep 23, 2024
1 parent 9b4398a commit f83b726
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion x-pack/test/security_solution_cypress/runner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

import Url from 'url';

import { createEsClientForFtrConfig } from '@kbn/test';
import { TransportResult } from '@elastic/elasticsearch';
import { FtrProviderContext } from '../common/ftr_provider_context';
import { tiAbusechMalware } from './pipelines/ti_abusech_malware';
Expand All @@ -20,7 +21,7 @@ export async function SecuritySolutionConfigurableCypressTestRunner({
}: FtrProviderContext) {
const log = getService('log');
const config = getService('config');
const es = getService('es');
const es = createEsClientForFtrConfig(config);

const pipelines = [tiAbusechMalware, tiAbusechMalwareBazaar, tiAbusechUrl];

Expand Down

0 comments on commit f83b726

Please sign in to comment.