What I'm trying to do here is simple : I have and filter method called "search()" that is called on different action on my page.
I'd like to "spy" this method and then check if it was called with : cy.get('method').should('be.called')
But really, I don't understand how to reach the method, that is written in one of my component as vue method and spy on it. I've read the docs, but still can't understand how to do this.
Thanks in advance.