Cypress Testing Tips & Tricks

Share this post

My favorite Cypress plugins

cypresstips.substack.com

My favorite Cypress plugins

Advent day 5: extend Cypress functionality by using these plugins

Gleb Bahmutov
Dec 5, 2021
2
Share this post

My favorite Cypress plugins

cypresstips.substack.com

By default, Cypress has everything you need to start testing: the test runner, the browser automation, the assertions, and lots of powerful commands. With time you might need additional features. Because Cypress is just JavaScript, you can extend it in many ways by writing JS / TS code. There are lots of official and community plugins, but here are my favorite ones:

  1. cypress-each generates individual tests from data by extending the test runner with it.each and describe.each methods.

  2. cypress-watch-and-reload reloads Cypress when one of the watched files changes, useful when you want to re-run tests when the application code changes.

  3. cypress-grep filters tests using a part of its title or via test tags.

  4. cypress-recurse adds the ability to re-run Cypress commands until a predicate function returns true.

  5. cypress-data-session adds a Cypress command for flexible test data setup and caching.

For more information, check out my latest presentation “Supercharge Your Cypress Tests With Plugins”.

Supercharge Your Cypress Tests With Plugins
Share this post

My favorite Cypress plugins

cypresstips.substack.com
Comments
TopNewCommunity

No posts

Ready for more?

© 2023 Gleb Bahmutov
Privacy ∙ Terms ∙ Collection notice
Start WritingGet the app
Substack is the home for great writing