quasarframework / quasar-testing

Testing Harness App Extensions for the Quasar Framework 2.0+
https://testing.quasar.dev
MIT License
180 stars 65 forks source link

Adapt Cypress command to work nicely with Quasar components #254

Closed IlCallo closed 2 years ago

IlCallo commented 2 years ago

Related to https://github.com/quasarframework/quasar-testing/issues/81

Using cy.override on Cypress native commands it should be possible to detect if the current element is a Quasar component and adapt the command to work with it.

This would be the case for all "helper" commands from Cypress such as select, check, etc which rely on the presence of a native input, but that may not be available into Quasar at all, or may be hidden and buried deep into the component structure