test(editor): Fix flaky expression editor test (#20411)

This commit is contained in:
yehorkardash 2025-10-06 13:36:07 +03:00 committed by GitHub
parent 0fed2d72a0
commit 9ee2d25fef
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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();