Skip to content

Commit 5ded275

Browse files
committed
apply review
1 parent e0e99b9 commit 5ded275

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

zeppelin-web-angular/e2e/models/note-rename-page.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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> {

zeppelin-web-angular/src/app/pages/workspace/notebook/action-bar/action-bar.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
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"

0 commit comments

Comments
 (0)