![Create React App Officially Deprecated Amid React 19 Compatibility Issues](https://cdn.sanity.io/images/cgdhsj6q/production/04fa08cf844d798abc0e1a6391c129363cc7e2ab-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Synopsis CRM Test is a Node.js test framework which calls Salesforce Rest API and create simple node.js scripts to perform different actions in salesforce. Currently CrmTest has a support of running in Amazon ec2 cloud. In this ReadMe the focus is to run CrmTest in Amazon EC2 instance having Ubuntu version.
##Motivation CRM Test has driven from the idea of Testing as a Service. The intent is to support development of E2E scenarios using simple Node.Js scripts.
##Tested OS
##Pre-requisites
##Setup Instructions
##How to execute the node.js module from on-prem
##Tests
First create the crmtest object
Start Invoking supported crmtest methods. Currently crmtest support following features
Get OAuth access Token : In order to get oAuth access token we should invoke the getoauth method
var response = crmtest.getoauth(
baseUrl,
"<<username>>",
"<<password>>",
"<<consumer secret>>",
"<<consumer key>>");
var accessToken = crmtest.parseresponse(response,"access_token");
Here baseUrl is the instance url for ex: https://na30.salesforce.com/
UserName is the username used to login to the org
Password in order to login to the org
Consumer Secret and Consumer Key can be fetched from the connected app home page.
Once response is received one can parse the access token by invoking the parseresponse method and querying for access_token
1 Create an account record
response = crmtest.createaccount("Account Name", accessToken);
var fileId = crmtest.parseresponse(response,"id");
2 Upload a File in Chatter feed
response = crmtest.insertChatterFeedFile("/Users/Documents/pdf.pdf", "File Name","Title", accessToken);
var fileId = crmtest.parseresponse(response,"id");
3 Get the status of File rendition
response = crmtest.fileavailability(fileId,"thumbnail", accessToken);
var staus = crmtest.parseresponse(response, "status")
Note: Develop branch is the staging version whereas master is the release version.
##Run crmtest in Amazon ec2 1 Follow the tutorial and set up an instance http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EC2_GetStarted.html 2 CrmTest has been verified on the Ubuntu version of Amazon ec2 3 Install the required Java binaries
**JDK**
sudo apt-get install openjdk-8-jdk
**JRE**
sudo apt-get install openjdk-8-jre
4 Already Node and npm will be installed in the instance, if not follow the steps at here 5 Once Node is installed execute the following
npm install java
npm install crmtest
6 That's it your amazon ec2 should be ready to run Salesforce e2e tests. --In the FAQ section some common issues and troubleshoot approaches have been mentioned--
###FAQs
I am getting invalid_grant when I am executing the oAuth method call, How to resolve it? A. The status invalid_grant depicts that the client machine from where you are trying to invoke the script is getting ip restricted by the org. To resolve this
Which user should I be in order to execute this node module A. Ideally you should be the system admin of the org.
I am getting an error NoClassDefFoundError: .... How to resolve it? A. Ideally all the jar files supported with this package should be in extracted state, but if it is not then you will get this error. To Troubleshoot this
###License This is an open source initiative supported by ISC license https://opensource.org/licenses/ISC
FAQs
CRM Test is a Node.js test framework which calls Salesforce Rest API and create simple node.js scripts to perform different actions in salesforce. Currently CrmTest has a support of running in Amazon ec2 cloud. In this ReadMe the focus is to run CrmTest i
The npm package crmtest receives a total of 0 weekly downloads. As such, crmtest popularity was classified as not popular.
We found that crmtest demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.