Refactor specs to check against properties
What does this MR do and why?
Refactor specs to use native API instead of checking against css classes.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Nothing changes visually.
How to set up and validate locally
- Run
yarn jest --watch ee/spec/frontend/security_dashboard/components/shared/filtered_search/tokens/status_token_spec.js
Related to #494419 (closed)
Edited by Savas Vedova