Skip to content

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

  1. Pull this branch.
  2. Update your packages by running yarn install.
  3. 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.

Related to #430187 (closed)

Edited by Jiaan Louw

Merge request reports