Skip to content

Replace basic DAST profile manual mocks with frontend fixtures

Paul Gascou-Vaillancourt requested to merge 288337-dast-site-profile-mocks into master

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

  1. Make sure the required services are running:
     gdk start postgresql redis
  2. Generate the fixtures:
    bundle exec spring rspec ee/spec/frontend/fixtures/dast_profiles.rb
  3. 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.

Related to #288337 (closed)

Edited by Paul Gascou-Vaillancourt

Merge request reports

Loading