You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First test should return emitted events but it does not.
What is actually happening?
0 event returned
I already tried in local with beta.20 but doesnt change anything.
The working test shows that instead of clicking on the button which triggers the "expand", if I force emitting the corresponding event the test is working (I expect another event to be emitted then).
At first, I thought the problem was coming from bootstrap-vue (and their collapse transition) but after discussing with their active members, they took a look and finally told me :
"The show should be emitted regardless of transition
The HTML already has the correct aria expanded and show class
Which makes me think, perhaps the test wrapper on the child component (b-collapse) isn't firing it's event on the test"
"This sounds like a potential Vue test utils bug to be honest"
The text was updated successfully, but these errors were encountered:
Version
1.0.0-beta.16
Reproduction link
https://github.com/klak-bm/bv-collapse-problem/
Steps to reproduce
git clone https://github.com/klak-bm/bv-collapse-problem/ && cd bv-collapse-problem/ && npm i && npm test
What is expected?
First test should return emitted events but it does not.
What is actually happening?
0 event returned
I already tried in local with beta.20 but doesnt change anything.
The working test shows that instead of clicking on the button which triggers the "expand", if I force emitting the corresponding event the test is working (I expect another event to be emitted then).
At first, I thought the problem was coming from bootstrap-vue (and their collapse transition) but after discussing with their active members, they took a look and finally told me :
"The show should be emitted regardless of transition
The HTML already has the correct aria expanded and show class
Which makes me think, perhaps the test wrapper on the child component (b-collapse) isn't firing it's event on the test"
"This sounds like a potential Vue test utils bug to be honest"
The text was updated successfully, but these errors were encountered: