Create SSH key: ssh-keygen -t rsa -C "Email Id" -b 4096
Open the file "id_rsa.pub" which has the public key and copy the contents.
Go to page and add your key.
To read more about the SSH key creation
Once SSH key id is created, you can clone the project to your local machine using: git clone "take-register-ui-automation-tests"
For more information on git commands
This project was integrated with Cucumber JS and TestCafe
In the project directory, you can run:
This will install all the packages available in package.json file in project root directory.
It will execute all the feature files added in the feature/featurefiles
folder with browser chrome in qa environment.
Note: If we want to run the test cases in dev environment then run npm run test-chrome-dev
.
It will execute all the feature files added in the feature/featurefiles
folder with browser safari in qa environment.
Note: If we want to run the test cases in dev environment then run npm run test-safari-dev
.
This will execute the specific feature file in any environment specified in ENV
and FEATURE
You can learn more in the TestCafe Runner Object.
To learn Cucumber JS, check out the Cucumber JS.