Skip to content

Protected containers: Resolve duplicate test assertions

What does this MR do and why?

  • Resolve duplicate test assertions in container protection rules test
  • Make assertion more specific to avoid false positives
  • This MR wants to address the suggestion from another MR

Changelog: other

/cc @ekigbo

🛠 with at Siemens

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.

MR Checklist (@gerardo-navarro)

Screenshots or screen recordings

On adjusted test for frontend .

How to set up and validate locally

  1. Execute the test
yarn jest spec/frontend/packages_and_registries/settings/project/settings/components/container_protection_rules_spec.js

Related to #441345

Edited by Gerardo Navarro

Merge request reports