diff --git a/app/client/cypress/integration/Smoke_TestSuite/ServerSideTests/ApiFlow/CurlImportFlow_spec.js b/app/client/cypress/integration/Smoke_TestSuite/ServerSideTests/ApiFlow/CurlImportFlow_spec.js index 04d28fa803..9ea0d1bad9 100644 --- a/app/client/cypress/integration/Smoke_TestSuite/ServerSideTests/ApiFlow/CurlImportFlow_spec.js +++ b/app/client/cypress/integration/Smoke_TestSuite/ServerSideTests/ApiFlow/CurlImportFlow_spec.js @@ -6,11 +6,6 @@ describe("Test curl import flow", function() { localStorage.setItem("ApiPaneV2", "ApiPaneV2"); cy.NavigateToApiEditor(); cy.get(ApiEditor.curlImage).click({ force: true }); - cy.get("textarea").should( - "have.attr", - "placeholder", - "curl -X GET https://mock-api.appsmith.com/users", - ); cy.get("textarea").type("curl -X GET https://mock-api.appsmith.com/users"); cy.importCurl(); cy.get("@curlImport").then((response) => { diff --git a/app/client/src/pages/Editor/APIEditor/CurlImportForm.tsx b/app/client/src/pages/Editor/APIEditor/CurlImportForm.tsx index f8b02b7bfb..be0ae5ebb8 100644 --- a/app/client/src/pages/Editor/APIEditor/CurlImportForm.tsx +++ b/app/client/src/pages/Editor/APIEditor/CurlImportForm.tsx @@ -96,6 +96,11 @@ const Header = styled.div` } `; +const CurlLabel = styled.div` + font-size: 12px; + color: ${Colors.SLATE_GRAY}; +`; + interface ReduxStateProps { actions: ActionDataState; initialValues: Record; @@ -133,12 +138,16 @@ class CurlImportForm extends React.Component { + + { + "Hint: Try typing in the following curl command and then click on the 'Import' button: curl -X GET https://mock-api.appsmith.com/users" + } +