diff --git a/app/cdap/components/HttpExecutor/InputPath/index.js b/app/cdap/components/HttpExecutor/InputPath/index.js index 0c8bea58f85..3b8cb5b0223 100644 --- a/app/cdap/components/HttpExecutor/InputPath/index.js +++ b/app/cdap/components/HttpExecutor/InputPath/index.js @@ -57,6 +57,7 @@ function InputPathView({ value, onChange }) { value={value} onChange={onChange} data-cy="request-path-input" + data-testid="request-path-input" /> diff --git a/app/cdap/components/HttpExecutor/MethodSelector/index.js b/app/cdap/components/HttpExecutor/MethodSelector/index.js index 34b711446e4..28692f11ac5 100644 --- a/app/cdap/components/HttpExecutor/MethodSelector/index.js +++ b/app/cdap/components/HttpExecutor/MethodSelector/index.js @@ -48,6 +48,7 @@ function MethodSelectorView({ onChange, value }) { data-cy="request-method-selector" value={value} onChange={onChange} + data-testid="request-method-selector" > {METHODS.map((method) => { return ( diff --git a/app/cdap/components/HttpExecutor/RequestHistoryTab/RequestRow/index.tsx b/app/cdap/components/HttpExecutor/RequestHistoryTab/RequestRow/index.tsx index 61d8988b79f..4a876edc12f 100644 --- a/app/cdap/components/HttpExecutor/RequestHistoryTab/RequestRow/index.tsx +++ b/app/cdap/components/HttpExecutor/RequestHistoryTab/RequestRow/index.tsx @@ -195,6 +195,7 @@ const RequestRowView: React.FC = ({ className={classnames(classes.requestPath, { [classes.selectedRequestPath]: isSelectedRequest, })} + data-testid="request-path" > {request.path} diff --git a/app/cdap/components/HttpExecutor/RequestMetadata/Body/index.js b/app/cdap/components/HttpExecutor/RequestMetadata/Body/index.js index c8baffdbf2e..76be13f2a63 100644 --- a/app/cdap/components/HttpExecutor/RequestMetadata/Body/index.js +++ b/app/cdap/components/HttpExecutor/RequestMetadata/Body/index.js @@ -41,7 +41,13 @@ const mapDispatch = (dispatch) => { function BodyView({ value, onChange }) { return (
-