From 4f1d0b46837b314dff381c69b7295a8e6adac9c8 Mon Sep 17 00:00:00 2001 From: cristhianzl Date: Fri, 24 Nov 2023 11:06:57 -0300 Subject: [PATCH] fix(keypairListComponent): update input ids to include "editNode" prefix when editNode prop is true fix(genericModal): add data-testid to save button for easier testing fix(sideBarDraggableComponent): add data-testid to div element for easier testing fix(nodeToolbarComponent): add empty fragment as ConfirmationModal.Trigger to fix warning fix(types): add editNodeModal property to KeyPairListComponentType fix(codeAreaModalComponent.spec): update locator for Python Function Tool fix(floatComponent.spec): update locator for Python Function Tool fix(intComponent.spec): update locator for GET Request Tool fix(keyPairListComponent.spec): update locator for CSV Loader Tool fix(promptModalComponent.spec): update locator for Prompt Template Tool --- .../components/keypairListComponent/index.tsx | 20 ++++++++-- .../src/modals/genericModal/index.tsx | 1 + .../sideBarDraggableComponent/index.tsx | 1 + .../components/nodeToolbarComponent/index.tsx | 3 +- src/frontend/src/types/components/index.ts | 1 + .../end-to-end/codeAreaModalComponent.spec.ts | 11 ++--- .../tests/end-to-end/floatComponent.spec.ts | 4 +- .../tests/end-to-end/intComponent.spec.ts | 11 ++--- .../end-to-end/keyPairListComponent.spec.ts | 40 +++++++++---------- .../end-to-end/promptModalComponent.spec.ts | 2 +- 10 files changed, 57 insertions(+), 37 deletions(-) diff --git a/src/frontend/src/components/keypairListComponent/index.tsx b/src/frontend/src/components/keypairListComponent/index.tsx index ca63c362c..93baa4764 100644 --- a/src/frontend/src/components/keypairListComponent/index.tsx +++ b/src/frontend/src/components/keypairListComponent/index.tsx @@ -55,7 +55,7 @@ export default function KeypairListComponent({ return (