DEV Community

Discussion on: How to test Vue apps with the popular Cypress framework

Collapse
 
mirelspr profile image
Mirel Springer

"Here, we visit the app via localhost, find the input field using cy.get() and start typing something inside. To type something, we simply chain cy.click() to cy.get(). Then we get the button in the same way and click it by chaining cy.click(). Now what's left is to check whether the todo is actually added to the list or not."

Shouldn't this be "we simply chain cy.type()" ?

Collapse
 
napoleon039 profile image
Nihar Raote

Thank you for pointing it out. I should edit my posts more carefully.