Skip to content

Commit af61c78

Browse files
committed
chore: add data-test to buttons for e2e
1 parent aa1551d commit af61c78

File tree

1 file changed

+2
-0
lines changed
  • packages/frontend/src/components/FlowStepTestController

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -318,6 +318,7 @@ export default function FlowStepTestController(
318318
isDisabled={!isDirty}
319319
mr={2}
320320
w="auto"
321+
data-test="flow-substep-save-without-checking-button"
321322
>
322323
{!isDirty ? 'Saved' : 'Save without checking'}
323324
</Button>
@@ -367,6 +368,7 @@ export default function FlowStepTestController(
367368
isLoading={isSaving}
368369
variant="clear"
369370
onClick={handleSave}
371+
data-test="flow-substep-save-button"
370372
>
371373
{isDirty ? 'Save' : 'Saved'}
372374
</Button>

0 commit comments

Comments
 (0)