Description
Version
1.0.0-beta.20
Reproduction link
https://codesandbox.io/s/mzlzo73j7p
Steps to reproduce
Sorry unable to provide with the code as I would have to do a lot of boiler plate code as there are few dependencies such as Vuetify, Vuex and graphql.
I am providing a pseudo code. You can find the code in the test/test.js
Issue:
When I am trying to test a button click event I am getting error 'TypeError: Cannot read property 'split' of undefined'.
On button click an action is triggered that triggers mutation and updates the store.
I am writing integration tests that actually mocks the graphql server and provides with the fake data.
Note:
I have vuex store.
I am using Vuetify as the component library.
Steps to Reproduce:
const btn = wrapper.findAll({name: 'v-btn'});
btn.at(1).trigger('click');
After this I get above mentioned error.
I would like to know if there is something I can do to resolve the issue.
What is expected?
Expected behavior is that on the button click event the store should get updated with the mock data that was supplied.
What is actually happening?
Actually error is occurring - TypeError: Cannot read property 'split' of undefined
I have read few issue surrounding this which comments on transition. I have followed #52
and applied
stubs: {
'transition': TransitionStub,
'transition-group': TransitionGroupStub
}
With no success. I am not aware of what is actually happening it would be great if anybody can throw some light.