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.
npm install lambdatest-cypress-cliVerified import paths — ran on the pinned version, not inferred.
Demonstrates global installation, setting up authentication, initializing the configuration, and executing Cypress tests on the LambdaTest platform.
Ensure `LT_USERNAME` and `LT_ACCESS_KEY` are properly exported in your environment before invoking `lambdatest-cypress run`. Consider using a CI/CD secret management system for these credentials.
Always run `lambdatest-cypress init` first to generate a template configuration. Carefully review and update the `auth`, `browsers`, and `run_settings` sections according to your project's requirements and LambdaTest's documentation.
If experiencing proxy issues, review your proxy configuration and LambdaTest's documentation on proxy support. For older versions, manual proxy configuration might be required. If upgrading, test thoroughly to ensure existing proxy setups are not negatively impacted by the `reject_unauthorized` change.
Verify that the `cypress_version` in your `lambdatest-cypress.json` accurately reflects the Cypress version dependency in your `package.json` file. Update it if there's a discrepancy.
Before running `lambdatest-cypress`, execute `export LT_USERNAME="your_username"` and `export LT_ACCESS_KEY="your_access_key"` (replace placeholders with actual credentials) or use a `.env` file loader.
Run `lambdatest-cypress init` in your project's root directory to generate the default configuration file, then customize it as needed.
Install the package globally using `npm install -g lambdatest-cypress-cli` or execute the command using `npx lambdatest-cypress run` (for local installation).
Upgrade to `lambdatest-cypress-cli@3.0.50-prod` or higher, which defaults `reject_unauthorized` to `false` for proxy compatibility. Alternatively, configure your Node.js environment to trust the proxy's certificate, or set `NODE_TLS_REJECT_UNAUTHORIZED=0` (use with caution in production).
No dependency data recorded yet.