Merge pull request #2382 from automatisch/AUT-1412

test: add import and export flow tests
This commit is contained in:
Ali BARIN
2025-03-10 23:50:52 +01:00
committed by GitHub
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>
)}