@@ -59,7 +59,6 @@ describe('e2e: Transition', () => {
59
59
// leave
60
60
expect ( await classWhenTransitionStart ( ) ) . toStrictEqual ( [
61
61
'test' ,
62
- 'v-leave-active' ,
63
62
'v-leave-from'
64
63
] )
65
64
await nextFrame ( )
@@ -114,7 +113,6 @@ describe('e2e: Transition', () => {
114
113
// leave
115
114
expect ( await classWhenTransitionStart ( ) ) . toStrictEqual ( [
116
115
'test' ,
117
- 'test-leave-active' ,
118
116
'test-leave-from'
119
117
] )
120
118
await nextFrame ( )
@@ -174,7 +172,6 @@ describe('e2e: Transition', () => {
174
172
// leave
175
173
expect ( await classWhenTransitionStart ( ) ) . toStrictEqual ( [
176
174
'test' ,
177
- 'bye-active' ,
178
175
'bye-from'
179
176
] )
180
177
await nextFrame ( )
@@ -232,7 +229,6 @@ describe('e2e: Transition', () => {
232
229
// leave
233
230
expect ( await classWhenTransitionStart ( ) ) . toStrictEqual ( [
234
231
'test' ,
235
- 'test-leave-active' ,
236
232
'test-leave-from'
237
233
] )
238
234
await nextFrame ( )
@@ -328,7 +324,6 @@ describe('e2e: Transition', () => {
328
324
// leave
329
325
expect ( await classWhenTransitionStart ( ) ) . toStrictEqual ( [
330
326
'test' ,
331
- 'test-leave-active' ,
332
327
'test-leave-from'
333
328
] )
334
329
// todo test event with arguments. Note: not get dom, get object. '{}'
@@ -415,7 +410,6 @@ describe('e2e: Transition', () => {
415
410
// cancel (leave)
416
411
expect ( await classWhenTransitionStart ( ) ) . toStrictEqual ( [
417
412
'test' ,
418
- 'test-leave-active' ,
419
413
'test-leave-from'
420
414
] )
421
415
expect ( enterCancelledSpy ) . toBeCalled ( )
@@ -471,7 +465,6 @@ describe('e2e: Transition', () => {
471
465
// leave
472
466
expect ( await classWhenTransitionStart ( ) ) . toStrictEqual ( [
473
467
'test' ,
474
- 'test-leave-active' ,
475
468
'test-leave-from'
476
469
] )
477
470
await nextFrame ( )
@@ -604,7 +597,6 @@ describe('e2e: Transition', () => {
604
597
// leave
605
598
expect ( await classWhenTransitionStart ( ) ) . toStrictEqual ( [
606
599
'test' ,
607
- 'test-leave-active' ,
608
600
'test-leave-from'
609
601
] )
610
602
expect ( beforeLeaveSpy ) . toBeCalled ( )
@@ -746,7 +738,6 @@ describe('e2e: Transition', () => {
746
738
747
739
// leave
748
740
expect ( await classWhenTransitionStart ( ) ) . toStrictEqual ( [
749
- 'noop-leave-active' ,
750
741
'noop-leave-from'
751
742
] )
752
743
await nextFrame ( )
@@ -787,7 +778,6 @@ describe('e2e: Transition', () => {
787
778
788
779
// leave
789
780
expect ( await classWhenTransitionStart ( ) ) . toStrictEqual ( [
790
- 'test-anim-leave-active' ,
791
781
'test-anim-leave-from'
792
782
] )
793
783
await nextFrame ( )
@@ -834,7 +824,6 @@ describe('e2e: Transition', () => {
834
824
835
825
// leave
836
826
expect ( await classWhenTransitionStart ( ) ) . toStrictEqual ( [
837
- 'test-anim-long-leave-active' ,
838
827
'test-anim-long-leave-from'
839
828
] )
840
829
await nextFrame ( )
@@ -913,7 +902,6 @@ describe('e2e: Transition', () => {
913
902
// leave
914
903
expect ( await svgTransitionStart ( ) ) . toStrictEqual ( [
915
904
'test' ,
916
- 'test-leave-active' ,
917
905
'test-leave-from'
918
906
] )
919
907
await nextFrame ( )
@@ -971,7 +959,6 @@ describe('e2e: Transition', () => {
971
959
// leave
972
960
expect ( await classWhenTransitionStart ( ) ) . toStrictEqual ( [
973
961
'test' ,
974
- 'test-leave-active' ,
975
962
'test-leave-from'
976
963
] )
977
964
await nextFrame ( )
@@ -1060,7 +1047,6 @@ describe('e2e: Transition', () => {
1060
1047
// leave
1061
1048
expect ( await classWhenTransitionStart ( ) ) . toStrictEqual ( [
1062
1049
'test' ,
1063
- 'test-leave-active' ,
1064
1050
'test-leave-from'
1065
1051
] )
1066
1052
await nextFrame ( )
@@ -1127,7 +1113,6 @@ describe('e2e: Transition', () => {
1127
1113
// leave
1128
1114
expect ( await classWhenTransitionStart ( ) ) . toStrictEqual ( [
1129
1115
'test' ,
1130
- 'v-leave-active' ,
1131
1116
'v-leave-from'
1132
1117
] )
1133
1118
expect ( onLeaveSpy ) . toBeCalledTimes ( 1 )
@@ -1196,7 +1181,6 @@ describe('e2e: Transition', () => {
1196
1181
// leave
1197
1182
expect ( await classWhenTransitionStart ( ) ) . toStrictEqual ( [
1198
1183
'test' ,
1199
- 'v-leave-active' ,
1200
1184
'v-leave-from'
1201
1185
] )
1202
1186
await nextFrame ( )
@@ -1276,15 +1260,25 @@ describe('e2e: Transition', () => {
1276
1260
1277
1261
// leave
1278
1262
await classWhenTransitionStart ( )
1263
+ // component one [before enter]
1279
1264
await nextFrame ( )
1265
+ // component one [enter]
1280
1266
expect ( await html ( '#container' ) ) . toBe (
1281
1267
'<div class="test v-leave-active v-leave-to">one</div>'
1282
1268
)
1283
1269
await transitionFinish ( )
1270
+ // component one [finish]
1271
+ // component two [before enter]
1272
+ expect ( await html ( '#container' ) ) . toBe (
1273
+ '<div class="test v-enter-from">two</div>'
1274
+ )
1275
+ await nextFrame ( )
1276
+ // component two [enter]
1284
1277
expect ( await html ( '#container' ) ) . toBe (
1285
1278
'<div class="test v-enter-active v-enter-to">two</div>'
1286
1279
)
1287
1280
await transitionFinish ( )
1281
+ // component two [finish]
1288
1282
expect ( await html ( '#container' ) ) . toBe ( '<div class="test">two</div>' )
1289
1283
} ,
1290
1284
E2E_TIMEOUT
@@ -1319,7 +1313,6 @@ describe('e2e: Transition', () => {
1319
1313
// leave
1320
1314
expect ( await classWhenTransitionStart ( ) ) . toStrictEqual ( [
1321
1315
'test' ,
1322
- 'test-leave-active' ,
1323
1316
'test-leave-from'
1324
1317
] )
1325
1318
await nextFrame ( )
@@ -1414,7 +1407,6 @@ describe('e2e: Transition', () => {
1414
1407
// leave
1415
1408
expect ( await classWhenTransitionStart ( ) ) . toStrictEqual ( [
1416
1409
'test' ,
1417
- 'test-leave-active' ,
1418
1410
'test-leave-from'
1419
1411
] )
1420
1412
expect ( beforeLeaveSpy ) . toBeCalled ( )
@@ -1486,7 +1478,6 @@ describe('e2e: Transition', () => {
1486
1478
// leave
1487
1479
expect ( await classWhenTransitionStart ( ) ) . toStrictEqual ( [
1488
1480
'test' ,
1489
- 'test-leave-active' ,
1490
1481
'test-leave-from'
1491
1482
] )
1492
1483
await nextFrame ( )
@@ -1558,7 +1549,6 @@ describe('e2e: Transition', () => {
1558
1549
// leave
1559
1550
expect ( await classWhenTransitionStart ( ) ) . toStrictEqual ( [
1560
1551
'test' ,
1561
- 'test-leave-active' ,
1562
1552
'test-leave-from'
1563
1553
] )
1564
1554
await nextFrame ( )
@@ -1634,7 +1624,6 @@ describe('e2e: Transition', () => {
1634
1624
// leave
1635
1625
expect ( await classWhenTransitionStart ( ) ) . toStrictEqual ( [
1636
1626
'test' ,
1637
- 'test-leave-active' ,
1638
1627
'test-leave-from'
1639
1628
] )
1640
1629
await nextFrame ( )
@@ -1689,7 +1678,6 @@ describe('e2e: Transition', () => {
1689
1678
// leave
1690
1679
expect ( await classWhenTransitionStart ( ) ) . toStrictEqual ( [
1691
1680
'test' ,
1692
- 'test-leave-active' ,
1693
1681
'test-leave-from'
1694
1682
] )
1695
1683
await nextFrame ( )
@@ -1744,7 +1732,6 @@ describe('e2e: Transition', () => {
1744
1732
// leave
1745
1733
expect ( await classWhenTransitionStart ( ) ) . toStrictEqual ( [
1746
1734
'test' ,
1747
- 'test-leave-active' ,
1748
1735
'test-leave-from'
1749
1736
] )
1750
1737
await nextFrame ( )
@@ -1802,7 +1789,6 @@ describe('e2e: Transition', () => {
1802
1789
// leave
1803
1790
expect ( await classWhenTransitionStart ( ) ) . toStrictEqual ( [
1804
1791
'test' ,
1805
- 'test-leave-active' ,
1806
1792
'test-leave-from'
1807
1793
] )
1808
1794
await nextFrame ( )
0 commit comments