@@ -602,7 +602,7 @@ try {
602602 assert . equal ( data . account . credentialId , account . credentialId )
603603 assert . equal ( data . tools . length > 0 , account . supported , account . name )
604604 await integrationRow ( account . name ) . click ( )
605- const permissions = page . getByRole ( 'textbox ' , { name : 'Search tools' , exact : true } )
605+ const permissions = page . getByRole ( 'searchbox ' , { name : 'Search tools' , exact : true } )
606606 if ( account . supported ) {
607607 await expect ( permissions ) . toBeVisible ( )
608608 await expect ( page . getByRole ( 'radio' ) . first ( ) ) . toBeVisible ( )
@@ -629,7 +629,9 @@ try {
629629 } )
630630 await expect ( firstAccount ) . toBeVisible ( )
631631 await expect ( secondAccount ) . toBeVisible ( )
632- await expect ( page . getByRole ( 'textbox' , { name : 'Search tools' , exact : true } ) ) . toHaveCount ( 0 )
632+ await expect ( page . getByRole ( 'searchbox' , { name : 'Search tools' , exact : true } ) ) . toHaveCount (
633+ 0
634+ )
633635 await capture ( 'integration-multiple-accounts' )
634636 await expect (
635637 page . getByRole ( 'button' , { name : 'Jira integration actions' , exact : true } )
@@ -694,7 +696,9 @@ try {
694696 await expect (
695697 page . getByText ( 'This account is no longer connected.' , { exact : true } )
696698 ) . toBeVisible ( )
697- await expect ( page . getByRole ( 'textbox' , { name : 'Search tools' , exact : true } ) ) . toHaveCount ( 0 )
699+ await expect ( page . getByRole ( 'searchbox' , { name : 'Search tools' , exact : true } ) ) . toHaveCount (
700+ 0
701+ )
698702 const states =
699703 await sql `select id, managed_oauth_status from credential where id in (${ credentialId } , ${ secondCredentialId } )`
700704 assert . equal (
@@ -740,7 +744,9 @@ try {
740744 page . getByText ( 'This account is no longer connected.' , { exact : true } )
741745 ) . toBeVisible ( )
742746 await expect ( page . getByRole ( 'button' , { name : / ^ M a n a g e / } ) ) . toHaveCount ( 0 )
743- await expect ( page . getByRole ( 'textbox' , { name : 'Search tools' , exact : true } ) ) . toHaveCount ( 0 )
747+ await expect ( page . getByRole ( 'searchbox' , { name : 'Search tools' , exact : true } ) ) . toHaveCount (
748+ 0
749+ )
744750 await sql `update organization_search_integration set approved = false where organization_id = ${ organizationId } and connector_type = 'coda'`
745751 try {
746752 await page . goto ( `${ baseUrl . origin } ${ root } /integrations` )
0 commit comments