Skip to content

Cleanup DAST profile forms specs

What does this MR do?

This refactors DAST profile forms specs by...

  • ...addings specs for BaseDastProfileForm. Those specs are responsible for testing shared behaviors like mutations, the cancel modal, etc.
  • ...removing or updating test cases in the form-specific specs to prevent redundant cases.
  • ...leveraging shallow wrappers whenever possible in the form-specific specs.

This follows-up on !67680 (merged) (#247272 (closed)) where we deduplicated the profile forms components by introducing a shared based component.

Related to #337964 (closed)

Edited by Paul Gascou-Vaillancourt

Merge request reports