@@ -8,7 +8,6 @@ describe('e2e: TransitionGroup', () => {
8
8
9
9
const duration = 50
10
10
const buffer = 5
11
- const transitionDisableProp = `style="transition-property: none;"`
12
11
13
12
const htmlWhenTransitionStart = ( ) =>
14
13
page ( ) . evaluate ( ( ) => {
@@ -107,9 +106,9 @@ describe('e2e: TransitionGroup', () => {
107
106
)
108
107
109
108
expect ( await htmlWhenTransitionStart ( ) ) . toBe (
110
- `<div class="test test-leave-active test-leave-from" ${ transitionDisableProp } >a</div>` +
109
+ `<div class="test test-leave-active test-leave-from">a</div>` +
111
110
`<div class="test">b</div>` +
112
- `<div class="test test-leave-active test-leave-from" ${ transitionDisableProp } >c</div>`
111
+ `<div class="test test-leave-active test-leave-from">c</div>`
113
112
)
114
113
await nextFrame ( )
115
114
expect ( await html ( '#container' ) ) . toBe (
@@ -151,7 +150,7 @@ describe('e2e: TransitionGroup', () => {
151
150
)
152
151
153
152
expect ( await htmlWhenTransitionStart ( ) ) . toBe (
154
- `<div class="test test-leave-active test-leave-from" ${ transitionDisableProp } >a</div>` +
153
+ `<div class="test test-leave-active test-leave-from">a</div>` +
155
154
`<div class="test">b</div>` +
156
155
`<div class="test">c</div>` +
157
156
`<div class="test test-enter-active test-enter-from">d</div>`
@@ -279,7 +278,7 @@ describe('e2e: TransitionGroup', () => {
279
278
`<div class="test group-enter-active group-enter-from">d</div>` +
280
279
`<div class="test">b</div>` +
281
280
`<div class="test group-move" style="">a</div>` +
282
- `<div class="test group-leave-active group-leave-from group-move" ${ transitionDisableProp } >c</div>`
281
+ `<div class="test group-leave-active group-leave-from group-move" style="" >c</div>`
283
282
)
284
283
await nextFrame ( )
285
284
expect ( await html ( '#container' ) ) . toBe (
@@ -462,7 +461,7 @@ describe('e2e: TransitionGroup', () => {
462
461
463
462
// enter + leave
464
463
expect ( await htmlWhenTransitionStart ( ) ) . toBe (
465
- `<div class="test test-leave-active test-leave-from" ${ transitionDisableProp } >a</div>` +
464
+ `<div class="test test-leave-active test-leave-from">a</div>` +
466
465
`<div class="test">b</div>` +
467
466
`<div class="test">c</div>` +
468
467
`<div class="test test-enter-active test-enter-from">d</div>`
0 commit comments