Closed khteh closed 2 years ago
How to test props? It's not there in the doc you provided.
The docs I provided are about Cypress AE custom commands and overrides It seems to me you should first study Vue Test Utils and Cypress, as from the multiple issues you opened it's pretty obvious you lack some fundamentals
Cypress AE is nothing more than a small transparent overlay to ease Cypress integration, this means you need to understand and know the underlying technologies (via their docs) to be able to use it correctly. This is written into the docs too:
That aside, you can find examples here: https://github.com/quasarframework/quasar-testing/tree/dev/test-project-webpack/src/components/__tests__
Would this be the right approach for q-toggle?
And how to test the props, for instance with Jest:
Software version
OS: Ubuntu 22.04 Node: NPM: Any other software related to your bug:
What did you get as the error?
What were you expecting?
What steps did you take, to get the error?