File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
src/app/pages/workspace/notebook/action-bar Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -20,8 +20,8 @@ export class NoteRenamePage extends BasePage {
2020 constructor ( page : Page ) {
2121 super ( page ) ;
2222 // Note title in elastic input component
23- this . noteTitle = page . locator ( '.elastic p') ;
24- this . noteTitleInput = page . locator ( '.elastic input') ;
23+ this . noteTitle = page . getByRole ( 'heading' ) . locator ( ' p') ;
24+ this . noteTitleInput = page . getByRole ( 'heading' ) . locator ( ' input') ;
2525 }
2626
2727 async ensureEditMode ( ) : Promise < void > {
Original file line number Diff line number Diff line change 1111 -->
1212
1313< div class ="bar " [class.simple] ="looknfeel !== 'default' ">
14- < div class ="title ">
14+ < div class ="title " role =" heading " aria-level =" 1 " >
1515 < zeppelin-elastic-input
1616 nz-tooltip
1717 [nzTooltipTitle] ="note.path "
You can’t perform that action at this time.
0 commit comments