Skip to content

Add integration tests for scan result policy rules

Artur Fedorov requested to merge 2227-policies-integration-tests into master

What does this MR do and why?

Strategy for integration test is to fully mount root component (page)

And test interaction between components.

In this case:

  1. Selecting rule should reflect in yaml preview
  2. While switching between rule and yaml mode, policy state has to persist

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 jest:integration --watch ${FILE_PATH}

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #2227

Merge request reports