dify/web/app/components/workflow/__tests__
CodingOnStar 3d10cf97f1 test: add unit tests for various workflow components
- Introduced new test files for CandidateNodeMain, CustomEdge, NodeContextmenu, PanelContextmenu, HelpLine, and several hooks.
- Each test file includes comprehensive tests to validate component rendering, interactions, and state management.
- Enhanced test coverage for dynamic test run options and data source configurations.
- Ensured proper mocking of dependencies to isolate component behavior during tests.
2026-03-25 12:12:59 +08:00
..
candidate-node-main.spec.tsx test: add unit tests for various workflow components 2026-03-25 12:12:59 +08:00
candidate-node.spec.tsx test(workflow): reorganize specs into __tests__ and align with shared test infrastructure (#33625) 2026-03-18 16:40:28 +08:00
custom-connection-line.spec.tsx test(workflow): reorganize specs into __tests__ and align with shared test infrastructure (#33625) 2026-03-18 16:40:28 +08:00
custom-edge-linear-gradient-render.spec.tsx test(workflow): reorganize specs into __tests__ and align with shared test infrastructure (#33625) 2026-03-18 16:40:28 +08:00
custom-edge.spec.tsx test: add unit tests for various workflow components 2026-03-25 12:12:59 +08:00
dsl-export-confirm-modal.spec.tsx test(workflow): reorganize specs into __tests__ and align with shared test infrastructure (#33625) 2026-03-18 16:40:28 +08:00
edge-contextmenu.spec.tsx test(workflow): add unit tests for workflow components (#33741) 2026-03-19 18:35:16 +08:00
features.spec.tsx test(workflow): add unit tests for workflow components (#33741) 2026-03-19 18:35:16 +08:00
fixtures.ts test(workflow): add unit tests for workflow components (#33741) 2026-03-19 18:35:16 +08:00
i18n.ts test(workflow): add unit tests for workflow components (#33741) 2026-03-19 18:35:16 +08:00
model-provider-fixtures.spec.ts test(workflow): add unit tests for workflow components (#33741) 2026-03-19 18:35:16 +08:00
model-provider-fixtures.ts test(workflow): add unit tests for workflow components (#33741) 2026-03-19 18:35:16 +08:00
node-contextmenu.spec.tsx test: add unit tests for various workflow components 2026-03-25 12:12:59 +08:00
panel-contextmenu.spec.tsx test: add unit tests for various workflow components 2026-03-25 12:12:59 +08:00
reactflow-mock-state.ts test(workflow): reorganize specs into __tests__ and align with shared test infrastructure (#33625) 2026-03-18 16:40:28 +08:00
selection-contextmenu.spec.tsx refactor(workflow): consolidate selection context menu helpers into component 2026-03-24 19:47:18 +08:00
service-mock-factory.ts test(workflow): add comprehensive hooks unit tests and refactor test infrastructure (Part 3) (#32958) 2026-03-04 17:24:50 +08:00
syncing-data-modal.spec.tsx test(workflow): reorganize specs into __tests__ and align with shared test infrastructure (#33625) 2026-03-18 16:40:28 +08:00
trigger-status-sync.spec.tsx test(workflow): add comprehensive hooks unit tests and refactor test infrastructure (Part 3) (#32958) 2026-03-04 17:24:50 +08:00
update-dsl-modal.helpers.spec.ts feat(workflow): implement DSL modal helpers and refactor update DSL modal 2026-03-24 16:16:54 +08:00
update-dsl-modal.spec.tsx feat(workflow): implement DSL modal helpers and refactor update DSL modal 2026-03-24 16:16:54 +08:00
workflow-edge-events.spec.tsx test(workflow): add unit tests for workflow components (#33741) 2026-03-19 18:35:16 +08:00
workflow-test-env.spec.tsx test(workflow): add unit tests for workflow components (#33741) 2026-03-19 18:35:16 +08:00
workflow-test-env.tsx test(workflow): add unit tests for workflow components (#33741) 2026-03-19 18:35:16 +08:00