chore: improve transition test stability
This commit is contained in:
parent
2bfb8b574d
commit
fa3f8e44ed
@ -1315,12 +1315,12 @@ describe('e2e: Transition', () => {
|
||||
expect(await html('#container')).toBe(
|
||||
'<div class="test v-leave-active v-leave-to">one</div>'
|
||||
)
|
||||
// await transitionFinish()
|
||||
// await nextFrame()
|
||||
await transitionFinish()
|
||||
await nextFrame()
|
||||
// expect(await html('#container')).toBe(
|
||||
// '<div class="test v-enter-active v-enter-to">two</div>'
|
||||
// )
|
||||
await transitionFinish(duration * 2)
|
||||
await transitionFinish()
|
||||
expect(await html('#container')).toBe('<div class="test">two</div>')
|
||||
},
|
||||
E2E_TIMEOUT
|
||||
|
Loading…
Reference in New Issue
Block a user