fix(FUSEQE-6017): Add data-testid for "Add another" button in array definition auto form for better testability
@@ -110,7 +110,9 @@ export const FormArrayComponent: React.FunctionComponent<
);
})}
<div className={'form-array-control__array-add'}>
- <TextButton onClick={() => props.push(getNewArrayRow(definition))}>
+ <TextButton
+ data-testid="form-array-control-add-another-item-button"
+ onClick={() => props.push(getNewArrayRow(definition))}>
<>
<i className="fa fa-plus-circle" />
&nbsp;
