Skip to content

fix(tests): Dashboard e2e tests use inline stub components — real implementation never exercised #405

@github-actions

Description

@github-actions

Summary

All "dashboard" behavior in dashboard-flow.test.tsx comes from inline stub components defined in the test file. The suite will not fail if the actual route, widgets, fetch logic, or useSignalR integration breaks, because the real implementation is never imported or rendered.

Affected file

src/UILayer/web/src/__tests__/e2e/dashboard-flow.test.tsx — line 105

Required fix

Import and render the real dashboard route/page. Mock only external boundaries (API calls, WebSocket) and assert on rendered output from the real implementation.

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions