-
Notifications
You must be signed in to change notification settings - Fork 284
Open
Labels
DEV: frontendTAG: tech update / debtcommunity-contribution-in-progressgood first issueSelf-contained, straightforward, low-complexitySelf-contained, straightforward, low-complexityhelp wantedOpen source contributors welcomeOpen source contributors welcome
Description
Overview
Complexity: Low
Context
The test suite channelList/views/ChannelSet/__tests__/channelSetModal.spec.js currently relies heavily on internal implementation details and uses Vue Test Utils in a way that couples tests tightly to component internals. This creates several issues:
- Brittle and unreliable tests (break when implementation changes even if behavior remains correct, or incorrectly pass while actual user interactions fail)
- Maintenance burden (refactoring component's internal code requires updating tests)
Related pages:
![]() |
![]() |
![]() |
The Change
Refactor channelList/views/ChannelSet/__tests__/channelSetModal.spec.js test suite to use Vue Testing Library (VTL) and write tests in a way that reflects how a user interacts with the application.
Do not refactor any other areas of the codebase.
How to Get There
- Navigate to
/channels/#/collections/newURL
Value Add
Prepares the test suite for easier updates during the upcoming refactoring to remove Vuetify from this page.
Out of Scope
Do not refactor any other areas of the codebase.
Acceptance Criteria
- Cover all major workflows while avoiding excessive testing of details
- Concise but explicit test descriptions that describe what's tested from a user point of view
- Follow Testing Library principles and Testing Library query priority recommendation
- Follow our Unit testing guide and Testing template, where you will also find how we mock router, store, composables, and more.
- Use patterns consistent with existing VTL test suites (search for
from '@testing-library/vue')
References
Sub-issue of #5060
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
DEV: frontendTAG: tech update / debtcommunity-contribution-in-progressgood first issueSelf-contained, straightforward, low-complexitySelf-contained, straightforward, low-complexityhelp wantedOpen source contributors welcomeOpen source contributors welcome


