chore(e2e): add basic test for table of contents

This commit is contained in:
Elian Doran
2025-01-11 13:36:56 +02:00
parent 74b2643c28
commit b44f4e0f74
3 changed files with 35 additions and 0 deletions
+2
View File
@@ -6,12 +6,14 @@ export default class App {
readonly tabBar: Locator;
readonly noteTree: Locator;
readonly currentNoteSplit: Locator;
readonly sidebar: Locator;
constructor(page: Page) {
this.page = page;
this.tabBar = page.locator(".tab-row-widget-container");
this.noteTree = page.locator(".tree-wrapper");
this.currentNoteSplit = page.locator(".note-split:not(.hidden-ext)")
this.sidebar = page.locator("#right-pane");
}
async goto() {