Skip to content

Test: cover frontend error states for dashboard panels #2

Description

@franklinzerocr

The current frontend tests focus on the happy path for the Dashboard page and live market price widget.

To better demonstrate robustness, add test coverage for error scenarios:

  • When the backend fails for portfolio/signals/ops:
    • Dashboard should show the corresponding error messages.
  • When the market price endpoint fails:
    • The widget should render the "Using last known value" copy when a previous value exists.
    • It should render an explicit "Error" state when no previous value is available.

These tests will better showcase how the UI behaves under degraded conditions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions