Skip to content

Add stream component tests - #877

Merged
Austinaminu2 merged 1 commit into
FlowwStar:mainfrom
meetdarc-tech:test/add-stream-component-coverage
Sep 27, 2026
Merged

Austinaminu2 merged 1 commit into
FlowwStar:mainfrom
meetdarc-tech:test/add-stream-component-coverage

Conversation

@meetdarc-tech

Copy link
Copy Markdown

Summary
This PR adds component coverage for the two stream UI components that previously had no test coverage:

QR share dialog
Gantt timeline view

What changed
QR share dialog tests
verifies the dialog renders a QR code for the provided stream URL
verifies the visible URL text is displayed in the dialog
verifies the copy action calls the clipboard API and shows the success toast
verifies the QR download action triggers canvas export and click behavior
Stream Gantt view tests
verifies the correct number of stream bars render for the supplied streams
verifies each bar is positioned based on the stream start and end timestamps
verifies the rendering remains deterministic and uses the same proportional math as the component contract

Notes
These tests are snapshot-free and assert the actual contract of each component rather than implementation detail alone, keeping the coverage focused on user-visible behavior and positioning logic.

closes #743
closes #744

@drips-wave

drips-wave Bot commented Sep 27, 2026

Copy link
Copy Markdown

@meetdarc-tech Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add component tests for components/streams/stream-gantt-view.tsx Add component tests for components/streams/qr-share-dialog.tsx

2 participants