fix(parameterComponent): add data-testid attribute to textarea and input elements for easier testing
fix(GenericNode): add data-testid attribute to div element for easier testing fix(textAreaComponent): add data-testid attribute to div element for easier testing fix(EditNodeModal): add data-testid attribute to textarea element for easier testing fix(genericModal): add data-testid attribute to span element for easier testing fix(flowPage.spec): comment out unnecessary code fix(keyPairListComponent.spec): add click event to div element for easier testing fix(nestedComponent.spec): comment out unnecessary code fix(promptModalComponent.spec): comment out unnecessary code fix(inputComponent.spec): add click event to div element for easier testing fix(toggleComponent.spec): add click event to div element for easier testing
This commit is contained in:
parent
09bd8cb009
commit
9a92a291ca
11 changed files with 51 additions and 52 deletions
|
|
@ -378,6 +378,7 @@ export default function ParameterComponent({
|
|||
value={data.node.template[name].value ?? ""}
|
||||
onChange={handleOnNewValue}
|
||||
id={"textarea-" + index}
|
||||
data-testid={"textarea-" + index}
|
||||
/>
|
||||
) : (
|
||||
<InputComponent
|
||||
|
|
@ -488,6 +489,7 @@ export default function ParameterComponent({
|
|||
handleOnNewValue(e);
|
||||
}}
|
||||
id={"prompt-input-" + index}
|
||||
data-testid={"prompt-input-" + index}
|
||||
/>
|
||||
</div>
|
||||
) : left === true && type === "NestedDict" ? (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue