GeezerVison is showing github.com — [Remove Vuetify from Studio] Convert 'Activation failed' unit tests to Vue Testing Library · Issue #5636 · learningequality/studio
[Remove Vuetify from Studio] Convert 'Activation failed' unit tests to Vue Testing Library #5636Description

🙂 Looking for an issue? Welcome! This issue is open for contribution. If this is the first time you’re requesting an issue, please:
- Read Contributing guidelines carefully. Pay extra attention to Using generative AI. Pull requests and comments that don’t follow the guidelines won’t be answered.
- Confirm that you’ve read the guidelines in your comment.

Overview
Complexity: Low
Context
The test suite accounts/pages/__tests__/requestNewActivationLink.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 page:
The Change
Refactor accounts/pages/__tests__/requestNewActivationLink.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.
Hot to Get There
- Navigate to
/accounts/#/request-activation-link URL
- Submit the form with missing or invalid data
- Submit the form with correct data
- To display the error banner, temporarily modify code
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
References
Sub-issue of #5060 Activitysharma-anushka commented on Jan 13, 2026 Hi @MisRob, I would also like to work on this if its available. Ive read the guidelines. vtushar06 commented on Jan 13, 2026 Hii @MisRob, if you would like can I implement this? abhiraj75 commented on Jan 13, 2026 Greetings @MisRob , I would love to work to on this as I already solved a similar issue which was VTU to VTL conversion(#5633) Rajeev529 commented on Jan 13, 2026 hello @MisRob, please assign this task to me. I’ve reviewed the test file and believe that by replacing==> import { mount } from '@vue/test-utils' with Vue Testing Library, we can achieve the required refactor and align the tests with user behavior. MisRob commented on Jan 13, 2026 Friends, I can only assign one of you :) Thanks for all the offers, we appreciate it. If the assignee is open to collaboration, perhaps some of you can connect and resolve together. vtushar06 commented on Jan 15, 2026 Yes @MisRob, I am ready to help and collaboration, @Imxvagabond feel free to connect I have worked on similar issues in past.
Please let me know if you need any help before you ask for review from maintainers. Reacted by Michaela Robosova MisRob commented on Jan 19, 2026 Hello @Imxvagabond - I assigned you last week. Please let us know if you plan to address it. MisRob commented on Jan 19, 2026 No rush @Imxvagabond - the purpose of my message was to only check in on whether, after I assigned you, still plan to work on it (usually people confirm). sharma-anushka commented on Jan 22, 2026 Hi @Imxvagabond, I have solved a similar issue recently, would love to help you out if, at all you might need it. sharma-anushka commented on Jan 30, 2026 Hi @MisRob, as I dont see anyone assigned for this issue, may I work on this one ? rahulkr182 commented on Jan 30, 2026 hello @MisRob, please assign this task to me.i would love to work on this. bjester commented on Jan 30, 2026 bjester commented on Jan 30, 2026 @rahulkr182 Thank you for your interest. I've assigned another contributor, but please keep an eye on our help wanted issues so we can get you assigned when one becomes available. sharma-anushka commented on Feb 2, 2026 Hi @MisRob , Ive raised the PR. You may have a look.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|