Created
March 10, 2018 06:49
-
-
Save NicholasBoll/5704aff016e87ca5a7edbf80b2051500 to your computer and use it in GitHub Desktop.
Just the test that includes the chain example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
it('should allow chaining of all the helpers', () => { | |
createTodo('Learn Cypress Command API') | |
.then(updateTodo('Learn Cypress composition')) | |
.then(markAsDone) | |
.then(deleteTodo) | |
cy.get('.todoapp') | |
.should('not.contain', 'Learn Cypress composition') | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment