DEV Community

Cover image for CYPRESS-AJV-SCHEMA-VALIDATOR VIDEO TUTORIAL: Mastering API Schema Testing in Cypress
Sebastian Clavijo Suero
Sebastian Clavijo Suero

Posted on

CYPRESS-AJV-SCHEMA-VALIDATOR VIDEO TUTORIAL: Mastering API Schema Testing in Cypress

Hi QA fellows!

I'm excited to share a new video tutorial available in my YouTube channel that will help you master API Schema validation using CYPRESS-AJV-SCHEMA-VALIDATOR. This comprehensive guide covers everything you need to elevate your API testing in Cypress through JSON Schema validation.

Check out the video on https://www.youtube.com/watch?v=Dd6MMZ6qd7g

All examples from the video are available in the GitHub repository https://github.com/sclavijosuero/cypress-ajv-schema-validator-sample-project

You can also find the slides from the tutorial presentation as a PDF in the same repository at https://github.com/sclavijosuero/cypress-ajv-schema-validator-sample-project/blob/main/tutorial-slides/cypress-ajv-schema-validator-video-tutorial.pdf


TUTORIAL CONTENT

0.1- JSON Schemas
0.2- What is cypress-ajv-schema-validator?
1- Install and Configure the Plugin in Cypress
2- Plugin API
3- First Test (Plain JSON Schema)
4- Second Test (OpenAPI 3 Doc)
5- Integration with cy.api() (@bahmutov/cy-api and cypress-plugin-api)
6- Disable JSON Schema Validation in your tests
Bonus- Sample GitHub Project, Related Blogs and Videos


I hope you find this video insightful and that it highlights the power of the CYPRESS-AJV-SCHEMA-VALIDATOR plugin. Please let me know your thoughts by leaving comments or reactions on this blog post or on the YouTube video. ❤️ 🦄 🤯 🙌 🔥 👍

And do not forget to subscribe to my new YouTube channel https://www.youtube.com/@SebastianClavijoSuero

Cheers!

Top comments (0)