Files
n8n-enterprise-unlocked/cypress/e2e/9999-SUG-38-inline-expression-preview.cy.ts

27 lines
828 B
TypeScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import {
assertInlineExpressionValid,
getParameterExpressionPreviewValue,
} from '../composables/ndv';
import {
clickZoomToFit,
executeWorkflowAndWait,
navigateToNewWorkflowPage,
openNode,
pasteWorkflow,
} from '../composables/workflow';
import Workflow from '../fixtures/Test_9999-SUG-38.json';
// Migrated to Playwright
// eslint-disable-next-line n8n-local-rules/no-skipped-tests
describe.skip('SUG-38 Inline expression previews are not displayed in NDV', () => {
it("should show resolved inline expression preview in NDV if the node's input data is populated", () => {
navigateToNewWorkflowPage();
pasteWorkflow(Workflow);
clickZoomToFit();
executeWorkflowAndWait();
openNode('Repro1');
assertInlineExpressionValid();
getParameterExpressionPreviewValue().should('have.text', 'hello there');
});
});