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 • Edited on

2 1 1 1 1

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. ❤️ 🦄 🤯 🙌 🔥 👍

You can also connect with me on my new YouTube channel: https://www.youtube.com/@SebastianClavijoSuero

If you'd like to support my work, consider buying me a coffee or contributing to a training session, so I can keep learning and sharing cool stuff with all of you.
Thank you for your support!
Buy Me A Coffee

Postmark Image

Speedy emails, satisfied customers

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay