File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed 
src/frontend/apps/e2e/__tests__/app-impress Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -438,7 +438,9 @@ test.describe('Doc Header', () => {
438438
439439    // Pin 
440440    await  page . getByText ( 'push_pin' ) . click ( ) ; 
441-     await  page . getByLabel ( 'Open the document options' ) . click ( ) ; 
441+     await  page 
442+       . getByRole ( 'button' ,  {  name : 'Open the document options'  } ) 
443+       . click ( ) ; 
442444    await  expect ( page . getByText ( 'Unpin' ) ) . toBeVisible ( ) ; 
443445
444446    await  page . goto ( '/' ) ; 
Original file line number Diff line number Diff line change @@ -113,9 +113,12 @@ export const connectOtherUserToDoc = async (
113113  const  otherPage  =  await  otherContext . newPage ( ) ; 
114114  await  otherPage . goto ( docUrl ) ; 
115115
116-   await  otherPage . getByRole ( 'button' ,  {  name : 'Login'  } ) . click ( { 
117-     timeout : 15000 , 
118-   } ) ; 
116+   await  otherPage 
117+     . getByRole ( 'main' ,  {  name : 'Main content'  } ) 
118+     . getByLabel ( 'Login' ) 
119+     . click ( { 
120+       timeout : 15000 , 
121+     } ) ; 
119122
120123  await  keyCloakSignIn ( otherPage ,  otherBrowserName ,  false ) ; 
121124
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments