mirror of
https://github.com/TriliumNext/Notes.git
synced 2026-04-24 13:48:53 -05:00
chore(e2e): add basic test for table of contents
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user