Skip to content

Refactor dynamic panel link selector

Anastasia McDonald requested to merge qa-refactor-panel-link-selector into master

What does this MR do?

Addresses data-qa-selector="`${panel.name}_link`" selector that was dynamically generated to this point. Unfortunately we ran into a problem in !61816 (merged) with the new panel names using kebab case (e.g. import-group-pane) which will result in an invalid element name (:import-group-pane_link).

Instead, we can utilise Dynamic element selection with both data-qa-selector (fixed name) and data-qa-panel-name (dynamically generated) that will work well in all cases.

See https://gitlab.com/gitlab-org/quality/team-tasks/-/issues/918

Does this MR meet the acceptance criteria?

Conformity

Edited by Anastasia McDonald

Merge request reports