Add stream component tests - #877
Merged
Austinaminu2 merged 1 commit intoSep 27, 2026
Merged
Austinaminu2 merged 1 commit into
Austinaminu2 merged 1 commit into
Conversation
|
@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! 🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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