File tree Expand file tree Collapse file tree 1 file changed +0
-20
lines changed
frontend/src/components/form/base/__tests__ Expand file tree Collapse file tree 1 file changed +0
-20
lines changed Original file line number Diff line number Diff line change @@ -234,26 +234,6 @@ describe('An EColorPicker', () => {
234234 await screen . findByText ( VALIDATION_MESSAGE )
235235 } )
236236
237- it ( 'accepts 3-digit hex color codes, after picker has been shown' , async ( ) => {
238- render ( EColorPicker , {
239- props : { value : COLOR1 , label : 'test' } ,
240- } )
241- const inputField = await screen . findByDisplayValue ( COLOR1 )
242- const button = await screen . getByLabelText ( PICKER_BUTTON_LABEL_TEXT )
243- // click the button to open the picker
244- await user . click ( button )
245-
246- // when
247- await user . clear ( inputField )
248- await user . keyboard ( '#abc' )
249- await fireEvent . blur ( inputField )
250-
251- // then
252- await waitFor ( ( ) => {
253- screen . getByDisplayValue ( '#AABBCC' )
254- } )
255- } )
256-
257237 it ( 'accepts null' , async ( ) => {
258238 render ( EColorPicker , {
259239 props : { value : COLOR2 , label : 'test' } ,
You can’t perform that action at this time.
0 commit comments