Security News
vlt Debuts New JavaScript Package Manager and Serverless Registry at NodeConf EU
vlt introduced its new package manager and a serverless registry this week, innovating in a space where npm has stagnated.
browserstack-cypress-cli
Advanced tools
BrowserStack Cypress CLI for Cypress integration with BrowserStack's remote devices.
Note: Running Cypress tests on BrowserStack is now in public beta. Learn more here
If you are looking for a getting started guide, and a more up-to date documentation, check out the BrowserStack Cypress documentation
The browserstack-cypress-cli
is BrowserStack's command-line interface (CLI) which
allows you to run your Cypress tests on BrowserStack.
Running your first Cypress test suite on BrowserStack is super easy - just install our CLI, configure the test run settings and start testing. Here’s a quick start guide to help you get started.
First, install the BrowserStack - Cypress CLI via npm
:
# Install the BrowserStack Cypress CLI
$ npm install -g browserstack-cypress-cli
Next, set up your BrowserStack credentials and configure the browsers that you want to run your tests on. Use the init
command to generate a sample browserstack.json
file, or alternatively create one from scratch.
# Create a sample configuration file for configurations and capabilities
$ browserstack-cypress init
Fill in the auth
, browsers
, run_settings
values in the browserstack.json
file to be able to run your tests. Refer to the configuration options to learn more about all the options you can use in browserstack.json
and the possible values that you can mention.
Make sure you also specify the npm
packages that your tests need to run using the npm_dependencies
option in run_settings
.
After you specify the required run settings, you can run your tests on BrowserStack:
$ browserstack-cypress run
After the tests are successfully submitted, you can access the test results on the BrowserStack Automate dashboard
To learn more about the different options the CLI supports - like running tests in parallel, running tests on localhost
URLs etc., refer to the BrowserStack Cypress documentation
Here are a few important links to get you started and help you successfully integrate the CLI into your CI/CD pipelines.
If you need any help, want to share feedback or report issues while running the tests, reach out to us on support@browserstack.com.
This project is released under MIT License. Please refer the LICENSE.md for more details.
FAQs
BrowserStack Cypress CLI for Cypress integration with BrowserStack's remote devices.
We found that browserstack-cypress-cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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
vlt introduced its new package manager and a serverless registry this week, innovating in a space where npm has stagnated.
Security News
Research
The Socket Research Team uncovered a malicious Python package typosquatting the popular 'fabric' SSH library, silently exfiltrating AWS credentials from unsuspecting developers.
Security News
At its inaugural meeting, the JSR Working Group outlined plans for an open governance model and a roadmap to enhance JavaScript package management.