I need to get the component in my end-to-end tests. The current solution is to get it by the vts CSS class, but the the ideal is to get it by the attribute data-cy.
Proposed solution
Add a prop attrs that will receive an object and use v-bind with this prop in the snackbar component . Each key of the attrs object will be the name of the attribute being created.
Problem to solve
I need to get the component in my end-to-end tests. The current solution is to get it by the
vts
CSS class, but the the ideal is to get it by the attributedata-cy
.Proposed solution
Add a prop
attrs
that will receive an object and usev-bind
with this prop in the snackbar component . Each key of theattrs
object will be the name of the attribute being created.