-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vue.js Quickstart - Spy Emitter #5278
Comments
@Akifcan Please provide a reproducible example of the issue you're encountering. Here are some tips for providing a Short, Self Contained, Correct, Example and our own Troubleshooting Cypress guide. Forking Cypress Test Tiny makes sharing a reproducible example easier to share and easier for our engineers to replicate your issues. This method also keeps the reproduction as simple as possible, which helps us eliminate potential causes and noise from the investigation. |
@Akifcan I've verified that the referenced example works as described in the latest version of Vue, so there must be something unique about your component/project that isn't evident from the code you've shared. It may be that you're using an older version of Vue or another library that is changing the behavior of your component. Since this doesn't appear to be a bug in Cypress you should reach out to the community on Discord to see if they can help you get your component test working as expected |
Subject
Vue Component Testing
Description
Hello I followed this sample for spy emitters in vue.js.
I tried to register my emitter under props property. But it didn't work
cy.mount(Stepper, { props: { onChange: onChangeSpy } })
then I switched props with emit and worked.This is my code:
The text was updated successfully, but these errors were encountered: