powerful-gigabyte-69168
05/24/2022, 1:25 PMcy.window().its('app.$store')
like it shows in this article: https://www.cypress.io/blog/2017/11/28/testing-vue-web-application-with-vuex-data-store-and-rest-backend/
But in vue3 with composition api, there is no centralized store, just many individual stores that can (or not) be consumed by each component via an import of a useSomeStore()
function. This function doesn't appear to be consumable directly in cypress tests, so I'm wondering how to access my pinia stores in cypresspowerful-gigabyte-69168
05/24/2022, 2:15 PMgray-kilobyte-89541
05/24/2022, 2:25 PMpowerful-gigabyte-69168
05/24/2022, 2:38 PMpowerful-gigabyte-69168
05/24/2022, 3:44 PMpowerful-gigabyte-69168
05/24/2022, 3:46 PM