From 041000fbb6c40a4b38f933a599a879fb6dfea794 Mon Sep 17 00:00:00 2001 From: Jonathan Tran Date: Mon, 17 Mar 2025 17:16:58 -0400 Subject: [PATCH] Trying to fix test assertions --- e2e/playwright/editor-tests.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/e2e/playwright/editor-tests.spec.ts b/e2e/playwright/editor-tests.spec.ts index c83dfb823..059555f8e 100644 --- a/e2e/playwright/editor-tests.spec.ts +++ b/e2e/playwright/editor-tests.spec.ts @@ -189,7 +189,7 @@ sketch001 = startSketchOn('XY') |> line(end = [20, 0]) |> line(end = [0, 20]) |> line(end = [-20, 0]) - |> close()`) + |> close()`.replaceAll('\n', '')) }) test('if you click the format button it formats your code and executes so lints are still there', async ({ @@ -240,7 +240,7 @@ sketch_001 = startSketchOn('XY') |> line(end = [20, 0]) |> line(end = [0, 20]) |> line(end = [-20, 0]) - |> close()`) + |> close()`.replaceAll('\n', '')) // error in guter await expect(page.locator('.cm-lint-marker-info').first()).toBeVisible()