Skip to content

test-selection gap: run view specs when partials inside the view changed

Context

We have found a new test gap by looking at the MR pipelines failures: gitlab-org/quality/engineering-productivity/team#179 (comment 1296962089).

A rails partial was changed, and it broke some view tests. Those tests were not run in the selective pipelines, because we don't have a partial -> view mapping.

Goal

When a partial gets changed, we should identify in which views those partials are included, and trigger the specs for those views.

Technical details

Edited by David Dieulivol