test: add simple webhook flow test
This commit is contained in:
@@ -41,6 +41,7 @@ function EditableTypography(props) {
|
||||
if (editing) {
|
||||
component = (
|
||||
<TextField
|
||||
data-test="editableTypographyInput"
|
||||
onClick={handleTextFieldClick}
|
||||
onKeyDown={handleTextFieldKeyDown}
|
||||
onBlur={handleTextFieldBlur}
|
||||
|
@@ -101,6 +101,7 @@ export default function EditorLayout() {
|
||||
|
||||
{!isFlowLoading && (
|
||||
<EditableTypography
|
||||
data-test="editableTypography"
|
||||
variant="body1"
|
||||
onConfirm={onFlowNameUpdate}
|
||||
noWrap
|
||||
|
@@ -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>
|
||||
|
Reference in New Issue
Block a user