Refactor dashboards list specs
What does this MR do and why?
Refactors the dashboards list spec for Follow-up from "Decouple dashboards from produc... (#430187 - closed):
- Moves the list tests out of the product analytics feature scope
- Add a spec to cover the dashboard list fetch failing
Screenshots or screen recordings
No UI changes.
How to set up and validate locally
- Pull this branch.
- Update your packages by running
yarn install
. - Run the specs
yarn jest ee/spec/frontend/analytics/analytics_dashboards/components/dashboards_list_spec.js
.
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 #430187 (closed)
Edited by Jiaan Louw