Skip to content

Use new selectors for licenses and security tabs

Frédéric Caplette requested to merge fc-add-data-qa-selector-to-tabs into master

What does this MR do and why?

The security and licenses tab used to have data-qa-selectors on them for our QA specs, however adding them to the pipeline tabs elements does not add the attributes on the right DOM elements (it adds it on the hidden tab element) and therefore capybara has a hard time clicking on these elements in our tests. Instead, we are now selecting tabs based on the copy inside the element ("Licenses" and "Security") + we are adding a missing data-qa-selector on the licenses badge.

Screenshots or screen recordings

No changes

How to set up and validate locally

You can't! as long as the QA pipeline passes, we are good to go

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 Frédéric Caplette

Merge request reports