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', () => {
438
438
439
439
// Pin
440
440
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 ( ) ;
442
444
await expect ( page . getByText ( 'Unpin' ) ) . toBeVisible ( ) ;
443
445
444
446
await page . goto ( '/' ) ;
Original file line number Diff line number Diff line change @@ -113,9 +113,12 @@ export const connectOtherUserToDoc = async (
113
113
const otherPage = await otherContext . newPage ( ) ;
114
114
await otherPage . goto ( docUrl ) ;
115
115
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
+ } ) ;
119
122
120
123
await keyCloakSignIn ( otherPage , otherBrowserName , false ) ;
121
124
You can’t perform that action at this time.
0 commit comments