Browser testing using Cypress and BrowserStack

A step-by-step process for UI testing & automation

Why automation?

Introducing Cypress

npm install cypress --save-dev

Writing the test cases

describe('My app', () => {
it('should load', () => {
npx cypress open
Sometimes it’s better to write tests before development. It’s called TDD
Make sure all of your tests are passing

Introducing BrowserStack

npm install browserstack-cypress-cli
npx browserstack-cypress init
npx browserstack-cypress run --sync
BrowserStack build dashboard
BrowserStack build info

More from BrowserStack


Developer Relations 🥑 Engineer 🛠 High-functioning Absurdist. I cherish beauty, meaning, and the paradox of it.