Skip to content

Commit

Permalink
[Security Solution] Cypress runner constant refactor (#166051)
Browse files Browse the repository at this point in the history
Co-authored-by: Kibana Machine <[email protected]>
  • Loading branch information
MadameSheema and kibanamachine authored Sep 8, 2023
1 parent 227a037 commit 7d333f7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export const esArchiver = (

const kbnClient = new KbnClient({
log,
url: config.env.CYPRESS_BASE_URL as string,
url: config.env.BASE_URL as string,
...(config.env.ELASTICSEARCH_URL.includes('https')
? { certificateAuthorities: [Fs.readFileSync(CA_CERT_PATH)] }
: {}),
Expand Down
5 changes: 0 additions & 5 deletions x-pack/test/security_solution_cypress/runner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,6 @@ export async function SecuritySolutionConfigurableCypressTestRunner({

return {
FORCE_COLOR: '1',
CYPRESS_BASE_URL: Url.format(config.get('servers.kibana')),
CYPRESS_ELASTICSEARCH_URL: Url.format(config.get('servers.elasticsearch')),
CYPRESS_ELASTICSEARCH_USERNAME: config.get('servers.elasticsearch.username'),
CYPRESS_ELASTICSEARCH_PASSWORD: config.get('servers.elasticsearch.password'),
baseUrl: Url.format(config.get('servers.kibana')),
BASE_URL: Url.format(config.get('servers.kibana')),
ELASTICSEARCH_URL: Url.format(config.get('servers.elasticsearch')),
ELASTICSEARCH_USERNAME: config.get('servers.elasticsearch.username'),
Expand Down

0 comments on commit 7d333f7

Please sign in to comment.