Skip to content

browserstack/typescript-cypress-browserstack

Repository files navigation

cypress-typescript-browserstack

Introduction

Cypress is a next generation front end testing tool built for the modern web. Cucumber is a software tool that supports behavior-driven development (BDD).

This BrowserStack Example repository demonstrates a Cypress framework with parallel testing capabilities. The Cypress test scripts are written for the open source BrowserStack Demo web application (Github).

The Cypress tests are run on different platforms like on-prem and BrowserStack using various run configurations and test capabilities.

Pre-requisites

You need BrowserStack credentials to be able to run Cypress tests. You have to replace YOUR_USERNAME and YOUR_ACCESS_KEY in the sample scripts in this repository with your BrowserStack credentials which can be found in your Account Settings page.

Alternatively, you can set the environment variables BROWSERSTACK_USERNAME and BROWSERSTACK_ACCESS_KEY with your credentials and all the scripts in this repository should work fine

NOTE: Supported on Node v14+

Run Cypress test on BrowserStack

  1. Clone this repository
  2. Install the dependencies using npm install
  3. Run the sample script using npm run sample-test

Run sample test on privately hosted websites

Run the sample Local test using npm run sample-local-test

Additional Resources

About

Creating a sample repo for Cypress typescript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published