"object is not extensible" error in Cypress 14 Vue component testing #31121
Labels
CT
Issue related to component testing
stage: needs information
Not enough info to reproduce the issue
v14.0.0 🐛
Issue present since 14.0.0
Current behavior
I'm trying to upgrade from Cypress 13.17.0 to 14.0.3, and my component tests are consistently failing with a variation of the following when trying to mount the component:
It appears to be related to the use of Vue's
useTemplateRef
function, but I didn't have this problem with the previous version of Cypress. And just to add some more fun to the mix, when I run the tests locally, eventually they start passing just fine without any code changes.Desired behavior
Component tests should run successfully.
Test code to reproduce
https://github.com/hackel/cypress-test-tiny
Cypress Version
14.0.3
Node version
20.18.1
Operating System
Ubuntu latest / 24.04
Debug Logs
Other
No response
The text was updated successfully, but these errors were encountered: