Most elements generated by Quasar components have class names. Use that.
Components encapsulate functionality. It’s generally a bad idea to base your tests on Quasar implementation details (such as inner HTML structure) because these details can change at any time without notice (while functionality remains the same). This goes for ANY framework out there.