Hey, I had this issue too and added my solution to...
# vue
w
Hey, I had this issue too and added my solution to this repo where Bart had already got some vuetify stuff going: https://github.com/elevatebart/cy-ct-vuetify/blob/main/cypress/support/commands.js We override the stock mount command and do some modifications to the the DOM in our new command. The key part for your question is line 36. You may also need to add a display:block on your root element there - a coworker did that at work - because when you do have that data-app attribute on the root, Veutify makes it display:flex or something and that can mess with your component layout.
r
Thanks for the tip, although it's given me this now 😅 . Any idea?
I literally copy-paste the repo code
Never mind, It was a silly bug, it's running perfectly but without styles
Again, nevermind, I was importing mount instead of using it as a command jajajajja 😅 😅 😅 😅
5 Views