Failure in api/2_plan/epics_milestone_dates_spec.rb | Plan Epics milestone dates API updates epic dates when deleting milestones

Full description

Plan Epics milestone dates API updates epic dates when deleting milestones

File path

./qa/specs/features/ee/api/2_plan/epics_milestone_dates_spec.rb

Stack trace

Failure/Error:
  Resource::ProjectMilestone.fabricate_via_api! do |milestone|
    milestone.project = project
    milestone.start_date = start_date
    milestone.due_date = due_date
  end

QA::Resource::Errors::ResourceFabricationFailedError:
  Fabrication of QA::Resource::ProjectMilestone using the API failed (404) with `{"message":"404 Project Not Found"}`.
  Correlation Id: b004093588b0b02cd55faa0e816f5205
  Sentry Url: https://sentry.gitlab.net/gitlab/gitlabcom/?environment=gprd&query=correlation_id%3A%22b004093588b0b02cd55faa0e816f5205%22
  Kibana - Discover Url: https://log.gprd.gitlab.net/app/discover#/?_a=%28index:%277092c4e2-4eb5-46f2-8305-a7da2edad090%27%2Cquery%3A%28language%3Akuery%2Cquery%3A%27json.correlation_id%20%3A%20b004093588b0b02cd55faa0e816f5205%27%29%29&_g=%28time%3A%28from%3A%272023-02-05T15:44:35.885Z%27%2Cto%3A%272023-02-06T15:44:35.885Z%27%29%29
  Kibana - Dashboard Url: https://log.gprd.gitlab.net/app/dashboards#/view/5e6d3440-7597-11ed-9f43-e3784d7fe3ca?_g=%28time%3A%28from:%272023-02-05T15:44:35.885Z%27%2Cto%3A%272023-02-06T15:44:35.885Z%27%29%29&_a=%28filters%3A%21%28%28query%3A%28match_phrase%3A%28json.correlation_id%3A%27b004093588b0b02cd55faa0e816f5205%27%29%29%29%29%29

First happened in https://ops.gitlab.net/gitlab-org/quality/production/-/jobs/9185978.

Related test case: https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/347956.