Skip to content

Commit 56d7a1b

Browse files
committed
chore: add data-test prop for e2e tests
1 parent 79e00e8 commit 56d7a1b

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

packages/frontend/src/components/EditorRightDrawer/index.tsx

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,14 @@ export default function EditorRightDrawer(props: EditorRightDrawerProps) {
3131
}
3232

3333
return (
34-
<Flex flexDir="column" w="100%" py="4" overflowY="auto" h="100%">
34+
<Flex
35+
data-test="editor-right-drawer"
36+
flexDir="column"
37+
w="100%"
38+
py="4"
39+
overflowY="auto"
40+
h="100%"
41+
>
3542
<StepHeader step={step} />
3643
<Flex {...styles.stepContentsWrapper} pt={hasConnection ? 0 : 4}>
3744
<Step step={step} isLastStep={index === steps.length - 1} />

packages/frontend/src/components/EmptyFlowStepHeader/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ export default function EmptyFlowStepHeader(
2121

2222
return (
2323
<Flex
24+
data-test="flow-step"
2425
borderWidth="1px"
2526
borderColor="base.divider.medium"
2627
borderRadius="lg"

packages/frontend/src/components/FlowStep/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,7 @@ export default function FlowStep(
210210
</Box>
211211
)}
212212
<Flex
213+
data-test="flow-step"
213214
{...flowStepStyles.container}
214215
borderTopWidth={hasInfoBox ? 0 : '1px'}
215216
borderColor={

0 commit comments

Comments
 (0)