@@ -737,13 +737,13 @@ describe('Search levels', () => {
737737 expect ( mocks . submit ) . toHaveBeenCalledWith ( 'First line\nSecond line' , [ ] )
738738 } )
739739
740- it . each ( [ 'Fast' , 'Adaptive ' , 'Max' ] ) (
740+ it . each ( [ 'Fast' , 'Auto ' , 'Max' ] ) (
741741 'selects %s without losing the draft or image' ,
742742 async ( label ) => {
743743 await render ( true , 'Preserved question' )
744744 await paste ( [ new File ( [ 'image' ] , 'screenshot.png' , { type : 'image/png' } ) ] )
745745 const picker = container . querySelector < HTMLButtonElement > ( '[aria-label="Search level"]' ) !
746- expect ( picker . textContent ) . toBe ( 'Adaptive ' )
746+ expect ( picker . textContent ) . toBe ( 'Auto ' )
747747 expect ( picker . nextElementSibling ?. getAttribute ( 'aria-label' ) ) . toBe ( 'Voice input' )
748748 await act ( async ( ) =>
749749 picker . dispatchEvent ( new KeyboardEvent ( 'keydown' , { key : 'Enter' , bubbles : true } ) )
@@ -774,7 +774,7 @@ describe('Search levels', () => {
774774 row . querySelector < HTMLInputElement | HTMLTextAreaElement > ( '[aria-label="Ask Sim"]' )
775775 ) . not . toBeNull ( )
776776 expect ( mode . nextElementSibling ?. getAttribute ( 'aria-label' ) ) . toBe ( 'Attach images' )
777- expect ( row . querySelector ( '[aria-label="Search level"]' ) ?. textContent ) . toBe ( 'Adaptive ' )
777+ expect ( row . querySelector ( '[aria-label="Search level"]' ) ?. textContent ) . toBe ( 'Auto ' )
778778 } )
779779} )
780780
@@ -802,7 +802,7 @@ it.each([true, false])(
802802 ( item ) => item . textContent
803803 )
804804 expect ( options ) . toEqual (
805- allowNoAssistant ? [ 'None' , 'Fast' , 'Adaptive ' , 'Max' ] : [ 'Fast' , 'Adaptive ' , 'Max' ]
805+ allowNoAssistant ? [ 'None' , 'Fast' , 'Auto ' , 'Max' ] : [ 'Fast' , 'Auto ' , 'Max' ]
806806 )
807807 }
808808)
0 commit comments