diff --git a/openmetadata-ui/src/main/resources/ui/src/components/IngestionModal/IngestionModal.component.tsx b/openmetadata-ui/src/main/resources/ui/src/components/IngestionModal/IngestionModal.component.tsx index 63f05845146..58d63c7c8b1 100644 --- a/openmetadata-ui/src/main/resources/ui/src/components/IngestionModal/IngestionModal.component.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/components/IngestionModal/IngestionModal.component.tsx @@ -304,6 +304,7 @@ const IngestionModal: React.FC = ({ className={classNames('tw-form-inputs tw-px-3 tw-py-1', { 'tw-cursor-not-allowed': isUpdating, })} + data-testid="name" id="name" name="name" placeholder="Ingestion name" @@ -325,7 +326,7 @@ const IngestionModal: React.FC = ({ className={classNames('tw-form-inputs tw-px-3 tw-py-1', { 'tw-cursor-not-allowed': isUpdating, })} - data-testid="selectService" + data-testid="select-service" disabled={isUpdating} id="selectService" name="selectService" @@ -350,7 +351,7 @@ const IngestionModal: React.FC = ({ className={classNames('tw-form-inputs tw-px-3 tw-py-1', { 'tw-cursor-not-allowed': !ingestionService, })} - data-testid="selectService" + data-testid="ingestion-type" disabled={!ingestionService || isUpdating} id="ingestionType" name="ingestionType" @@ -386,6 +387,7 @@ const IngestionModal: React.FC = ({ = ({ = ({ = ({ = ({ = ({ = ({ 'toggle-switch', includeViews ? 'open' : null )} + data-testid="include-views" onClick={() => setIncludeViews(!includeViews)}>
@@ -490,6 +496,7 @@ const IngestionModal: React.FC = ({ 'toggle-switch', excludeDataProfiler ? 'open' : null )} + data-testid="data-profiler" onClick={() => setExcludeDataProfiler(!excludeDataProfiler) }> @@ -503,7 +510,7 @@ const IngestionModal: React.FC = ({ case 3: return ( -
+
= ({ setStartDate(e.target.value)} @@ -528,7 +536,7 @@ const IngestionModal: React.FC = ({ = ({ case 4: return ( -
+
= ({ }, [startDate]); return ( - +
-

{header}

+

+ {header} +

= ({
-
+
{getActiveStepFields(activeStep)}
-
+