Skip to content

Build your personal knowledge base with Trilium Notes

fix(e2e): missing method

Elian Doran1abc8abee63d
diff --git a/e2e/layout/tab_bar.spec.ts b/e2e/layout/tab_bar.spec.ts
index d5c2b7f15c..4d214b8dc0 100644
--- a/e2e/layout/tab_bar.spec.ts
+++ b/e2e/layout/tab_bar.spec.ts
@@ -49,7 +49,7 @@ test("Can drag tab to new window", async ({ page }) => {
await page.mouse.move(x, y + tabPos.height + 100, { steps: 5 });
await page.mouse.up();
} else {
- fail("Unable to determine tab position");
+ test.fail(true, "Unable to determine tab position");
}
// Wait for the popup to show