Skip to content

Instantly share code, notes, and snippets.

@erin-at-work
Last active November 21, 2019 01:00
Show Gist options
  • Save erin-at-work/7133fee8d1c37cf5aca8eb8c0e84247e to your computer and use it in GitHub Desktop.
Save erin-at-work/7133fee8d1c37cf5aca8eb8c0e84247e to your computer and use it in GitHub Desktop.
cypress-share

Cypress in WWW


  • Time Travel
  • Debugging in familiar tools (Chrome dev tools)
  • Real time reloads
  • Automatic awaiting
  • Screenshots & videos of failing tests
  • Consistent results (flake-free)
  • & others ...

CircleCI


Dashboard

  • Test recordings
  • Test parallelization
  • $$$

Critical Paths Url Covered Notes
SK Product Page > Purchase Kit (Credit Card) /products/starter-kit Incomplete Need to cover SK page
SK Product Page > Purchase Kit (Apple/Google Pay) /products/starter-kit ?
Whitening Pen /teeth/whitening/pen
Whitening Foam /teeth/whitening/foam
Retainers /teeth/straightening/retainers
Tooth Picks /teeth/oral-care/dental-kit
Dental Monitoring /teeth/dental-monitoring/monitoring-package/
Home > Studio Survey > Book Appt
Home > Kit Survey > Book Appt
Studio Landing Page > Studio Survey > Kit Zip > Book Appt

The Hard Parts:

  • Testing CircleCI
  • iFrames
  • Navigating original starter kit page

What's Next?


What's Next?

  • Refactor circleci for one build workspace
    • update docker image
  • Limit e2e test to run on release branches

Resources

https://www.cypress.io/

https://github.com/candidco/candidco-web/pull/2339

https://github.com/candidco/candidco-web/pull/2366

Cypress Guides Best Practices

Best Practices: YouTube

Testing, the way it should be: YouTube

What we can learn about testing from the wheel - Kent C Dodds

Write Tests - Kent C Dodds

Lean Testing Or Why Unit Tests are Worse Than You Think

Github Repo of JS Testing Best Practices

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment