Check $emit vuejs in test:e2e #19813
Unanswered
GoldraK
asked this question in
Component Testing
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am doing test:e2e in vuejs.
I'm trying to see if an event is emitted, but I can't do it at all.
The current test is the following
After receiving the request, the issue is made
The interception works perfectly for me but I don't know how to check the emit, I know it works because I have tried it by hand but not through test.
cypress is installed with the following command with default settings.
vue add e2e-cypress
In the @cypress/vue package there is an example, but it is mounting the component individually and not in a complete integration.
Any idea how to do it?
Thanks for your time.
Beta Was this translation helpful? Give feedback.
All reactions