Skip to content

Uses cached @api_fabrication_http_method in QA fabrication if available

Sean Gregory requested to merge e2e/dont_override_api_fabrication_method into master

What does this MR do and why?

This change fixes an issue with test resource cleanup which makes GET requests after a resource was generated via POST, overriding the api_fabrication_http_method and skipping cleanup.

By caching the state tracking fabrication method, group resources that make GET requests or perform side effects after fabrication should still be cleaned up.

Fixes gitlab-org/quality/quality-engineering/team-tasks#1592 (closed)

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

How to set up and validate locally

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports

Loading