Improve security training promo widget specs
What does this MR do and why?
This MR updates the widget specs from using index matchers (which rely on DOM order) to testId
, the intention is to make the test less fragile.
Screenshots or screen recordings
There is no UI/UX changes in this MR
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.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #377502 (closed)
Edited by Samantha Ming