chore(nodes-edges): add data testids

This commit is contained in:
moklick
2022-09-14 13:08:57 +02:00
parent 3681b33b29
commit dea46511c3
3 changed files with 9 additions and 1 deletions
@@ -163,7 +163,13 @@ const ReactFlow = forwardRef<ReactFlowRefType, ReactFlowProps>(
const rfId = useId();
return (
<div {...rest} style={{ ...style, ...wrapperStyle }} ref={ref} className={cc(['react-flow', className])}>
<div
{...rest}
style={{ ...style, ...wrapperStyle }}
ref={ref}
className={cc(['react-flow', className])}
data-testid="rf__wrapper"
>
<Wrapper>
<GraphView
onInit={onInit}