LambdaTest Cypress CLI

3.0.50 · active · verified Wed Apr 22

The `lambdatest-cypress-cli` is a command-line interface developed by LambdaTest to facilitate running Cypress end-to-end tests on the LambdaTest cloud-based cross-browser testing platform. Currently stable at version 3.0.50, the package demonstrates an active release cadence with frequent minor updates and fixes, as seen in its detailed changelog, which often includes multiple releases within short periods. Its core functionality involves configuring and executing Cypress test suites across a vast array of browser and operating system combinations provided by LambdaTest's online Selenium Grid, differentiating it from local Cypress test runners by offering scalable cloud execution and comprehensive test analytics. Users interact with the CLI to initialize configuration files, set up authentication credentials, define target browsers, and manage test execution parameters like parallel sessions and Cypress versions.

Common errors

Warnings

Install

Imports

Quickstart

Demonstrates global installation, setting up authentication, initializing the configuration, and executing Cypress tests on the LambdaTest platform.

npm install -g lambdatest-cypress-cli

# Set LambdaTest credentials as environment variables
export LT_USERNAME="$LT_USERNAME"
export LT_ACCESS_KEY="$LT_ACCESS_KEY"

# Initialize the configuration file (lambdatest-cypress.json)
lambdatest-cypress init

# Edit lambdatest-cypress.json to configure browsers, OS, and test settings.
# Example modification (after init creates the file):
# Ensure your project's Cypress version matches 'cypress_version' in run_settings.

# Run your Cypress tests on LambdaTest
lambdatest-cypress run

view raw JSON →