test: add import and export flow tests

This commit is contained in:
Jakub P
2025-03-10 22:40:28 +01:00
parent 0b7e29160e
commit 4e1fb19832
8 changed files with 475 additions and 3 deletions

View File

@@ -265,6 +265,7 @@ function FlowStep(props) {
</Typography>
<EditableTypography
data-test="step-name"
variant="body2"
onConfirm={handleStepNameChange}
prefixValue={`${step.position}. `}

View File

@@ -93,12 +93,14 @@ function ImportFlowDialog(props) {
</FileUploadInput>
{selectedFile && (
<Box overflow="hidden">
<Box data-test="file-name-wrapper" overflow="hidden">
<Typography>
{formatMessage('importFlowDialog.selectedFileInformation')}
</Typography>
<Tooltip title={selectedFile.name}>
<Typography noWrap>{selectedFile.name}</Typography>
<Typography data-test="file-name" noWrap>
{selectedFile.name}
</Typography>
</Tooltip>
</Box>
)}