Files
n8n/packages/testing/playwright/tests/e2e/regression/SUG-38-inline-expression-preview.spec.ts
alighasami 3d5eaf9445
Security: Sync from Public / sync-from-public (push) Has been cancelled
Test: Benchmark Nightly / build (push) Has been cancelled
Test: Benchmark Nightly / Notify Cats on failure (push) Has been cancelled
CI: Python / Checks (push) Has been cancelled
Test: Evals Python / Workflow Comparison Python (push) Has been cancelled
Util: Check Docs URLs / check-docs-urls (push) Has been cancelled
Test: Visual Storybook / Cloudflare Pages (push) Has been cancelled
Test: E2E Performance / build-and-test-performance (push) Has been cancelled
Test: Workflows Nightly / Run Workflow Tests (push) Has been cancelled
Util: Cleanup CI Docker Images / Delete stale CI images (push) Has been cancelled
Test: Benchmark Destroy Env / build (push) Has been cancelled
Util: Update Node Popularity / update-popularity (push) Has been cancelled
Test: E2E Coverage Weekly / Coverage Tests (push) Has been cancelled
first commit
2026-03-17 16:22:57 +03:30

34 lines
934 B
TypeScript

import { test, expect } from '../../../fixtures/base';
import type { TestRequirements } from '../../../Types';
const requirements: TestRequirements = {
workflow: {
'Test_9999_SUG_38.json': 'SUG_38_Test_Workflow',
},
};
test.describe('SUG-38 Inline expression previews are not displayed in NDV', {
annotation: [
{ type: 'owner', description: 'Adore' },
],
}, () => {
test("should show resolved inline expression preview in NDV if the node's input data is populated", async ({
n8n,
setupRequirements,
}) => {
await setupRequirements(requirements);
await n8n.canvas.clickZoomToFitButton();
await n8n.workflowComposer.executeWorkflowAndWaitForNotification(
'Workflow executed successfully',
);
await n8n.canvas.openNode('Repro1');
await expect(n8n.ndv.getParameterExpressionPreviewValue()).toBeVisible();
await expect(n8n.ndv.getParameterExpressionPreviewValue()).toHaveText('hello there');
});
});