From fba5cd8104db39f3554bdb3b342802f06b03aedc Mon Sep 17 00:00:00 2001 From: Jethary Date: Wed, 23 Oct 2024 12:22:11 -0400 Subject: [PATCH] feat(protocol-designer): revamp form errors and fix logic for rendering closes AUTH-972 --- .../StepForm/StepTools/__tests__/MagnetTools.test.tsx | 1 + .../StepForm/StepTools/__tests__/TemperatureTools.test.tsx | 1 + 2 files changed, 2 insertions(+) diff --git a/protocol-designer/src/pages/Designer/ProtocolSteps/StepForm/StepTools/__tests__/MagnetTools.test.tsx b/protocol-designer/src/pages/Designer/ProtocolSteps/StepForm/StepTools/__tests__/MagnetTools.test.tsx index 5a901290c37..c6cb5f13383 100644 --- a/protocol-designer/src/pages/Designer/ProtocolSteps/StepForm/StepTools/__tests__/MagnetTools.test.tsx +++ b/protocol-designer/src/pages/Designer/ProtocolSteps/StepForm/StepTools/__tests__/MagnetTools.test.tsx @@ -47,6 +47,7 @@ describe('MagnetTools', () => { dirtyFields: [], focusedField: null, }, + visibleFormErrors: [], toolboxStep: 1, propsForFields: { magnetAction: { diff --git a/protocol-designer/src/pages/Designer/ProtocolSteps/StepForm/StepTools/__tests__/TemperatureTools.test.tsx b/protocol-designer/src/pages/Designer/ProtocolSteps/StepForm/StepTools/__tests__/TemperatureTools.test.tsx index 34b0b0bd501..8edd87af457 100644 --- a/protocol-designer/src/pages/Designer/ProtocolSteps/StepForm/StepTools/__tests__/TemperatureTools.test.tsx +++ b/protocol-designer/src/pages/Designer/ProtocolSteps/StepForm/StepTools/__tests__/TemperatureTools.test.tsx @@ -40,6 +40,7 @@ describe('TemperatureTools', () => { dirtyFields: [], focusedField: null, }, + visibleFormErrors: [], toolboxStep: 1, propsForFields: { moduleId: {