quasar-testing icon indicating copy to clipboard operation
quasar-testing copied to clipboard

Add more example tests for Jest

Open IlCallo opened this issue 3 years ago • 3 comments

We don't have many example tests for Jest, we should create a few more of them both for us to run on each release and to show the community how to properly test some of the most complex Quasar components (Dialog, Notify, Select, etc)

IlCallo avatar Jun 01 '22 14:06 IlCallo

Yes please. Testing dialogs broke in the latest quasar upgrade for example, I'm now struggling to find out what changed / how to mitigate and have the tests work. e.g.

wrapper.vm.$q.dialog

$q is now undefined

renamed to $ is what it looks like, but it also works differently...

AlphaJuliettOmega avatar Dec 08 '22 12:12 AlphaJuliettOmega

Can you open a new issue and provide a repro?

IlCallo avatar Dec 09 '22 12:12 IlCallo

@IlCallo I have tried to do so here: https://github.com/quasarframework/quasar-testing/issues/314

Thank you for your time

AlphaJuliettOmega avatar Dec 09 '22 13:12 AlphaJuliettOmega