Writing integration tests with Cypress and Meshery
Rodolfo Martínez Vega
Layer5 CI Working Group Lead
How it works?
Folder structure
How to write tests?
sample_spec.js
Meshery provider-ui
cypress/integration/first-test_spec.js
Selecting elements
https://docs.cypress.io/guides/references/best-practices.html#Selecting-Elements
Test Runner
$ npm run cy:open
Executing tests
- confidential -
Let’s write tests!
Demo
What’s next?
https://docs.cypress.io/guides/getting-started/writing-your-first-test.html
Best Practices
https://docs.cypress.io/guides/references/best-practices.html
YouTube video:
“Brian Mann – I see your point, but… (Part 1)”
https://www.youtube.com/watch?v=5XQOK0v_YRE
Q&A