Merge pull request #2024 from kuba618/AUT-1186

test: add simple webhook flow test
This commit is contained in:
Ali BARIN
2024-08-22 11:16:22 +02:00
committed by GitHub
6 changed files with 149 additions and 7 deletions

View File

@@ -41,6 +41,7 @@ function EditableTypography(props) {
if (editing) {
component = (
<TextField
data-test="editableTypographyInput"
onClick={handleTextFieldClick}
onKeyDown={handleTextFieldKeyDown}
onBlur={handleTextFieldBlur}

View File

@@ -101,6 +101,7 @@ export default function EditorLayout() {
{!isFlowLoading && (
<EditableTypography
data-test="editableTypography"
variant="body1"
onConfirm={onFlowNameUpdate}
noWrap

View File

@@ -118,7 +118,7 @@ function TestSubstep(props) {
)}
{hasNoOutput && (
<Alert severity="warning" sx={{ mb: 1, width: '100%' }}>
<Alert data-test="flow-test-substep-no-output" severity="warning" sx={{ mb: 1, width: '100%' }}>
<AlertTitle sx={{ fontWeight: 700 }}>
{formatMessage('flowEditor.noTestDataTitle')}
</AlertTitle>