From 9ee2d25fef9b2c09cf51963c10e60f1ca9ce6b31 Mon Sep 17 00:00:00 2001 From: yehorkardash Date: Mon, 6 Oct 2025 13:36:07 +0300 Subject: [PATCH] test(editor): Fix flaky expression editor test (#20411) --- .../playwright/tests/ui/11-inline-expression-editor.spec.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/testing/playwright/tests/ui/11-inline-expression-editor.spec.ts b/packages/testing/playwright/tests/ui/11-inline-expression-editor.spec.ts index dc0509e466f..4105c8b8585 100644 --- a/packages/testing/playwright/tests/ui/11-inline-expression-editor.spec.ts +++ b/packages/testing/playwright/tests/ui/11-inline-expression-editor.spec.ts @@ -45,6 +45,7 @@ test.describe('Inline expression editor', () => { // Should switch back to fixed with backspace on empty expression await n8n.ndv.clearExpressionEditor('value'); + await expect(n8n.ndv.getParameterInputHint()).toContainText('empty'); const parameterInput = n8n.ndv.getParameterInput('value').getByRole('textbox'); await parameterInput.click(); await parameterInput.focus();