From f7b60ad4eda1996b0430ee0414d9a668cd3e13cb Mon Sep 17 00:00:00 2001 From: Derek Date: Wed, 23 Mar 2022 23:46:40 -0400 Subject: [PATCH] assertVue*() methods support Vue 3 composition API 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