Loading
Tighten the vulnerability details tracked ref specs
What does this MR do and why?
Follow-up to !263709 (merged) that addresses two non-blocking review suggestions from @charlieeekroon. Spec-only, no production code changes.
header_spec.js: assert the exact tracked ref text (for exampleBranch main,Tag v1.0.0) instead of querying the screen reader label by the.gl-sr-onlyCSS class, per the frontend testing guide. (thread)index_spec.js: remove thetrackedRefshape assertion, which tests the adapter rather thanindex.vue.from_haml_spec.jsalready covers it. (thread)
Stacked on !263709 (merged). Once it merges and its branch is deleted, this MR retargets to master.
References
Screenshots or screen recordings
N/A, spec-only change.
How to set up and validate locally
N/A, spec-only change. CI covers it.
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Edited by Samantha Ming