Replace basic DAST profile manual mocks with frontend fixtures
What does this MR do and why?
This replaces manual DAST site profile mocks with generated fixtures. This is the first iteration in a wider refactor effort to replace several manual mocks with more reliable fixtures.
How to set up and validate locally
- Make sure the required services are running:
gdk start postgresql redis
- Generate the fixtures:
bundle exec spring rspec ee/spec/frontend/fixtures/dast_profiles.rb
- Run the frontend specs:
yarn jest on_demand_scans dast_profiles -w 1
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 #288337 (closed)
Edited by Paul Gascou-Vaillancourt