web: fix delete all notes in topic test

This commit is contained in:
Abdullah Atta
2023-06-16 16:29:00 +05:00
committed by Abdullah Atta
parent 8b4270f7df
commit 8f4bd20253

View File

@@ -36,7 +36,7 @@ export class NotesViewModel extends BaseViewModel {
super(page, pageId, pageId === "home" ? "home" : "notes");
this.createButton = page.locator(
// TODO:
getTestId(`${pageId === "notebook" ? "notebook" : "notes"}-action-button`)
getTestId(`notes-action-button`)
);
this.editor = new EditorModel(page);
}