Skip to content

Adds 'section' as fallback to determine SET DRI

Richard Chong requested to merge cd8789-use-section-dri into main

What does this MR do and why?

Describe in detail what your merge request does and why.

With the recent addition of product_group metadata to the CustomersDot E2E specs, the set_dri_via_group method is unable to find any SET with provision, utilization, subscription_management, and fulfillment_platform in the role, because of that, CustomersDot E2E specs are now being assigned to every SET randomly. This change introduces a section fallback if no matching SET has the group or stage it's looking for before defaulting to assigning to any SET.

Related to gitlab-org/customers-gitlab-com#8789 (closed)

Screenshots or screen recordings

These are strongly recommended to assist reviewers and reduce the time to merge your change.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

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

Edited by Richard Chong

Merge request reports

Loading