Add integration tests for skip ci configuration

What does this MR do and why?

This merge request adds functionality to allow skipping CI configuration for both pipeline execution and scan execution policies. It introduces new test cases and mock data to verify this feature. The changes include:

  1. Add integration test for Skip Ci configuration for scan execution policy
  2. Add integration test for Skip Ci configuration for pipeline execution policy

These changes enhance the flexibility of the security orchestration policy editor by allowing users to optionally bypass CI processes when needed, while also ensuring the feature is thoroughly tested.

References

Please include cross links to any resources that are relevant to this MR. This will give reviewers and future readers helpful context to give an efficient review of the changes introduced.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

***NO VISUAL CHANGES***

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

Run:

yarn jest:integration --watch -p ee/spec/frontend_integration/security_orchestration

Related to #510851 (closed)

Merge request reports

Loading