{cypress}

Unlocking Efficiency With 

Anna Patterson

Principal Quality Engineer at EVERFI

Slides: https://slides.com/tester-anna/first-cypress-test

 

 

A Guide to Your First Automated Test 

cy.hello()

Anna Patterson, Principal Quality Engineer at EVERFI

https://www.linkedin.com/in/tester-anna/

- 10+ years in QA industry

- Applitools & Cypress Ambassador

- QA Career Mentor

- Mom of two

Expectations for Today's Session

  • Crash Course: maximum information in a short period of time
  • Interactive session, not a workshop
  • Focus on writing a simple Cypress test
  • Homework and follow-up learning materials included

Let's embark on this

learning journey

together!

Applied Learning Model for Test Automation

Modern JavaScript framework with robust features

 

 

1.

2.

Ease of Use and Minimal Setup

 

3.

 

Comprehensive documentation and active ecosystem

 

 

 

{Why Cypress?}

npm install cypress

# PRESENTING CODE

Pre-requisits:

  • Node.js
  • Code Editor (e.g. VS Code)

npx cypress open

# PRESENTING CODE

Writing your first Cypress test

# PRESENTING CODE
  • learn about Cypress syntax 
  • use cy.visit() to navigate to your application page
  • try Cypress selector playground to interact with the elements
  • try combining UI and API tests to improve test stability
  • make meaningful assertions

But wait, there's more!

  • Test Configuration and Environment Setup
  • Custom Commands
  • Plugins/integrations (e.g. Applitools for visual testing)
  • Fixtures and Mocking
  • Debugging and Troubleshooting
  • Cypress Dashboard and Parallelization

 Free Resources for Further Learning

HOMEWORK

Our design team has a cWrollective 75 years of experience in crafting digital products. Our diverse backgrounds offer a thorough mix of points of view.

Write your first Cypress test!

Get in touch