@@ -33,6 +33,7 @@ import { FlowStep } from '@/constants';
33
33
import type { IMarker , TimeModel , TimeType } from '@/interfaces' ;
34
34
import { type VueWrapper } from '@vue/test-utils' ;
35
35
import { localToTz } from '@/utils/timezone' ;
36
+ import { nextTick } from 'vue' ;
36
37
37
38
describe ( 'It should validate various picker scenarios' , ( ) => {
38
39
it ( 'Should dynamically disable times' , async ( ) => {
@@ -110,27 +111,6 @@ describe('It should validate various picker scenarios', () => {
110
111
dp . unmount ( ) ;
111
112
} ) ;
112
113
113
- it ( 'Should not enable partial range with text-input on time-picker (#505)' , async ( ) => {
114
- const dp = await openMenu ( { textInput : true , timePicker : true , range : true } ) ;
115
- const today = new Date ( ) ;
116
- const hours = getHours ( today ) ;
117
- const minutes = getMinutes ( today ) ;
118
-
119
- const singleTime = `${ padZero ( hours ) } :${ padZero ( minutes ) } ` ;
120
-
121
- const input = dp . find ( 'input' ) ;
122
- await input . setValue ( singleTime ) ;
123
-
124
- expect ( input . element . value ) . toBe ( singleTime ) ;
125
-
126
- await input . trigger ( 'keydown' , { key : 'Enter' } ) ;
127
-
128
- expect ( dp . emitted ( ) ) . toHaveProperty ( 'invalid-select' , [
129
- [ [ set ( new Date ( ) , { hours, minutes, seconds : 0 , milliseconds : 0 } ) ] ] ,
130
- ] ) ;
131
- dp . unmount ( ) ;
132
- } ) ;
133
-
134
114
it ( 'Should emit regular and zoned date value' , async ( ) => {
135
115
const timezone = 'UTC' ;
136
116
const dp = await openMenu ( { timezone : { emitTimezone : timezone } } ) ;
0 commit comments