File tree Expand file tree Collapse file tree
test/nuxt/components/compare Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -331,32 +331,6 @@ describe('PackageSelector', () => {
331331 } )
332332 } )
333333
334- describe ( 'accessibility' , ( ) => {
335- it ( 'remove buttons have aria-label' , async ( ) => {
336- const component = await mountSuspended ( PackageSelector , {
337- props : {
338- modelValue : [ 'lodash' ] ,
339- } ,
340- } )
341-
342- const removeButton = component
343- . findAll ( 'button' )
344- . find ( b => b . find ( '.i-carbon\\:close' ) . exists ( ) )
345- expect ( removeButton ?. attributes ( 'aria-label' ) ) . toBeTruthy ( )
346- } )
347-
348- it ( 'search input has aria-autocomplete' , async ( ) => {
349- const component = await mountSuspended ( PackageSelector , {
350- props : {
351- modelValue : [ ] ,
352- } ,
353- } )
354-
355- const input = component . find ( 'input' )
356- expect ( input . attributes ( 'aria-autocomplete' ) ) . toBe ( 'list' )
357- } )
358- } )
359-
360334 describe ( 'search results dropdown' , ( ) => {
361335 it ( 'renders dropdown container when focused with results' , async ( ) => {
362336 const component = await mountSuspended ( PackageSelector , {
You can’t perform that action at this time.
0 commit comments