Skip to content

Commit

Permalink
test: for vuejs#8105
Browse files Browse the repository at this point in the history
  • Loading branch information
kikuchan committed Jun 26, 2023
1 parent 9f8e98a commit 597f9b8
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions packages/vue/__tests__/e2e/Transition.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1432,6 +1432,16 @@ describe('e2e: Transition', () => {
// )
await transitionFinish()
expect(await html('#container')).toBe('<div class="test">two</div>')

// toggle rapidly #8105
await click('#toggleBtn')
await nextFrame()
await click('#toggleBtn')

// wait for awhile
await transitionFinish(duration * 3)

expect(await html('#container')).toBe('<div class="test">two</div>')
},
E2E_TIMEOUT
)
Expand Down

0 comments on commit 597f9b8

Please sign in to comment.