Cucumber JS integration with LambdaTest
- Clone Repository
- cd
nodejs-cucumber-todo
- Install dependencies by running command
npm install
- Add
username
andaccesskey
incred.conf.js
file located in conf folder.
exports.cred = {
username: process.env.LT_USERNAME || 'YOUR_USERNAME',
access_key: process.env.LT_ACCESS_KEY || 'YOUR_ACCESS_KEY'
}
- Or yon can simply export
username
andaccess_key
using simple commands
export LT_USERNAME=YOUR_USERNAME
export LT_ACCESS_KEY=YOUR_ACCESS_KEY
- For Single environment test run:
npm test
- For Parallel test run:
npm run parallel
Please refer this url
- Set
tunnel
value totrue
in test capabilities
OS specific instructions to download and setup tunnel binary can be found at the following links.
LambdaTest is a cloud based selenium grid infrastructure that can help you run automated cross browser compatibility tests on 2000+ different browser and operating system environments. LambdaTest supports all programming languages and frameworks that are supported with Selenium, and have easy integrations with all popular CI/CD platforms. It's a perfect solution to bring your selenium automation testing to cloud based infrastructure that not only helps you increase your test coverage over multiple desktop and mobile browsers, but also allows you to cut down your test execution time by running tests on parallel.