Skip to content

Add integration test for policy scope edge cases

What does this MR do and why?

Add integration test for policy scope compliance frameworks mode

Policy list renders scope information both in table and in a drawer. These integration tests cover edge cases

for unexpected conflicting properties includingProjects and excludingProjects set together

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.

  1. Checkout branch

  2. Run

       yarn jest:integration --watch

    p ee/spec/frontend_integration/security_orchestration/policies_list/policy_scope/compliance_frameworks_spec.js

template sourced from https://gitlab.com/gitlab-org/gitlab/-/blob/master/.gitlab/merge_request_templates/Default.md

Related to #495647 (closed)

Edited by Artur Fedorov

Merge request reports

Loading