Slide 12
Slide 12 text
12
Automatic Waiting & Retry
We can focus on what to test.
it('adds 2 todos', function () {
cy.visit('/')
cy.get('.new-todo')
.type('learn testing{enter}')
.type('be cool{enter}')
cy.get('.todo-list li')
.should('have.length', 2)
})