From f62afe10fd37c96b1e1e9afe17174961cc2b0f0a Mon Sep 17 00:00:00 2001 From: Derek MacDonald Date: Thu, 24 Mar 2022 10:57:29 -0400 Subject: [PATCH] assertVue*() methods support Vue 3 composition API (#969) If Vue's composition API used, reactive data and computed props cannot be inspected through these methods. When fetching a component prop, attempt these paths: 1. el.__vue__.key * Vue 2 2. el.__vueParentComponent.ctx.key * Vue 3 options API * Vue 3 composition API for definedProps() 3. el.__vueParentComponent.setupState.key * Vue 3 composition API reactive(), computed(), or any other