https://cypress.io logo
Cypress(v12) Nuxt (v2) Props not working
# i-need-help
p
Hello, i uploaded a picture of my current test - component.js of cypress - nuxt component. In my component test I want to pass props to my nuxt component. Current behaviour, the component renders with the default props and not with the custom ones from the test. Do you see any mistakes I made, maybe in the component.js? Since the docs are lacking if working with vuetify and nuxt. Docs: https://docs.cypress.io/guides/component-testing/vue/examples#Passing-Data-to-a-Component https://docs.cypress.io/guides/component-testing/vue/examples#Replicating-the-expected-Component-Hierarchy https://docs.cypress.io/guides/component-testing/vue/overview#Nuxt
b
@wonderful-match-15836 any insight here? I think this question belongs in #1064948616449503232
w
Would definitely be good to get this in the CT channel so more folks could find it in future. I don't have time to take a close look at it but Lachlan just wrote up a lot of Vuetify stuff, that might be helpful.
p
I have a look and would repost it on the other channel. Thanks