Add integration tests for scan result policy rules
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:
- Selecting rule should reflect in
yaml
preview - While switching between
rule
andyaml
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.
- Checkout branch
- 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.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #2227