From cf63ce920dbae6e31d96d30ccf965a3f379a3a18 Mon Sep 17 00:00:00 2001 From: Jonatan Heyman Date: Thu, 10 Apr 2025 22:48:10 +0200 Subject: [PATCH] Make sure editor element is visible at the start of tests --- tests/test-utils.js | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test-utils.js b/tests/test-utils.js index 80f8c19..996a3f5 100644 --- a/tests/test-utils.js +++ b/tests/test-utils.js @@ -20,6 +20,7 @@ export class HeynotePage { async goto() { await this.page.goto("/") await expect(this.page).toHaveTitle(/Heynote/) + await expect(this.page.locator(".cm-editor")).toBeVisible() expect(this.getErrors()).toStrictEqual([]) }