some-air-72294
05/17/2021, 7:55 PM@vue/test-utils
when i createLocalVue
but if i try to use @cypress/vue
for it i get error createLocalVue
is not a function.some-air-72294
05/17/2021, 7:56 PMstocky-dream-36427
05/18/2021, 5:12 AMstocky-dream-36427
05/18/2021, 5:13 AMmelodic-father-50900
05/18/2021, 12:49 PMVue.nextTick
?stocky-dream-36427
05/18/2021, 5:01 PMbreezy-australia-64868
05/19/2021, 4:28 PMsome-air-72294
05/19/2021, 4:31 PMsome-air-72294
05/19/2021, 4:37 PMbreezy-australia-64868
05/19/2021, 4:40 PMstocky-dream-36427
05/19/2021, 7:07 PMstocky-dream-36427
05/19/2021, 7:07 PMsome-air-72294
05/19/2021, 7:24 PMstocky-dream-36427
05/19/2021, 7:50 PMstocky-dream-36427
05/19/2021, 7:51 PMstocky-dream-36427
05/19/2021, 7:51 PMsome-air-72294
05/19/2021, 8:02 PMbreezy-australia-64868
05/19/2021, 9:20 PMwonderful-match-15836
05/19/2021, 9:29 PMdocument.querySelector("#app").__vue__
in the console for the frame. Combined with a .pause() before a failing assertion, you can get quick access to a lot of the stuff you might typically be inspecting with dev toolsstocky-dream-36427
05/19/2021, 11:26 PMstocky-dream-36427
05/19/2021, 11:26 PMjs
import { mount as cyMount } from '@cypress/vue'
import { createVuetify } from '../../src/entry-bundler'
Cypress.Commands.add('mount', (component, options, vuetifyOptions) => {
const vuetify = createVuetify(vuetifyOptions)
const defaultOptions = {
global: {
plugins: [vuetify],
},
}
return cyMount(component, { ...defaultOptions, ...options }).as('wrapper')
})
melodic-father-50900
05/26/2021, 5:57 AMmelodic-father-50900
05/26/2021, 6:32 AMVue.nextTick
anymore π±gorgeous-refrigerator-7329
05/26/2021, 12:35 PMbulky-sundown-74498
05/26/2021, 1:04 PMbulky-sundown-74498
05/26/2021, 1:04 PMstocky-dream-36427
05/26/2021, 7:33 PMstocky-dream-36427
05/26/2021, 7:33 PM@cypress/vite-dev-server
I suggest trying it from scratch to see how it works with your build πstocky-dream-36427
05/26/2021, 7:33 PM