Skip to content

Commit

Permalink
[8.x] [Security Solution] Adds missing configuration to the cypress t…
Browse files Browse the repository at this point in the history
…ests (elastic#199959) (elastic#199973)

# Backport

This will backport the following commits from `main` to `8.x`:
- [[Security Solution] Adds missing configuration to the cypress tests
(elastic#199959)](elastic#199959)

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

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

<!--BACKPORT [{"author":{"name":"Gloria
Hornero","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-11-13T10:44:59Z","message":"[Security
Solution] Adds missing configuration to the cypress tests
(elastic#199959)\n\n## Summary\r\n\r\nAdds missing configuration to the cypress
tests.","sha":"fb71f4e027a955f82eed930fd87fb10c311905e0","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:
SecuritySolution","backport:version","v8.17.0"],"title":"[Security
Solution] Adds missing configuration to the cypress
tests","number":199959,"url":"https://github.com/elastic/kibana/pull/199959","mergeCommit":{"message":"[Security
Solution] Adds missing configuration to the cypress tests
(elastic#199959)\n\n## Summary\r\n\r\nAdds missing configuration to the cypress
tests.","sha":"fb71f4e027a955f82eed930fd87fb10c311905e0"}},"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/199959","number":199959,"mergeCommit":{"message":"[Security
Solution] Adds missing configuration to the cypress tests
(elastic#199959)\n\n## Summary\r\n\r\nAdds missing configuration to the cypress
tests.","sha":"fb71f4e027a955f82eed930fd87fb10c311905e0"}},{"branch":"8.x","label":"v8.17.0","branchLabelMappingKey":"^v8.17.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Gloria Hornero <[email protected]>
  • Loading branch information
kibanamachine and MadameSheema authored Nov 13, 2024
1 parent c5bed2f commit cbf8a49
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
import { defineCypressConfig } from '@kbn/cypress-config';
import { esArchiver } from './support/es_archiver';
import { samlAuthentication } from './support/saml_auth';
import { esClient } from './support/es_client';

// eslint-disable-next-line import/no-default-export
export default defineCypressConfig({
Expand Down Expand Up @@ -56,6 +57,7 @@ export default defineCypressConfig({
return launchOptions;
});
samlAuthentication(on, config);
esClient(on, config);
process.env.NODE_TLS_REJECT_UNAUTHORIZED = '0';
// eslint-disable-next-line @typescript-eslint/no-var-requires
require('@cypress/grep/src/plugin')(config);
Expand Down

0 comments on commit cbf8a49

Please sign in to comment.