Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

web: fix delete all notes in topic test

Abdullah Atta8f4bd2025399
diff --git a/apps/web/__e2e__/models/notes-view.model.ts b/apps/web/__e2e__/models/notes-view.model.ts
index 9fc671fc1..e1a72977e 100644
--- a/apps/web/__e2e__/models/notes-view.model.ts
+++ b/apps/web/__e2e__/models/notes-view.model.ts
@@ -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);
}