Seems like it should work, but it does not. Anyone know the trick to select on a v-select?
my.vue
<v-select
data-cy="exp_month"
name="exp_month"
v-model="card.expiration.month"
:items="months"
label="exp month">
</v-select>
myTest.js
it('should select the first month', () => {
cy.get("[data-cy=exp_month]").select("01")
})
the result
CypressError: cy.select() can only be called on a <select>. Your subject is a: <input aria-label="exp month" data-cy="exp_month" name="exp_month" readonly="readonly" type="text" placeholder=" " autocomplete="on" aria-readonly="false">