End a chain of commands.
cy.contains('ul').end() // Yield 'null' instead of 'ul' element
.end() is useful when you want to end a chain of commands and force the next
command to not receive what was yielded in the previous command.
.end() // yield null
.click() // contains looks for content in document now
Alternatively, you can always start a new chain of commands off of
cy.contains('User: Charles').click() // contains looks for content in document now
.end()requires being chained off a previous command.
.end()cannot have any assertions chained.
.end()cannot time out.
.end()does not log in the Command Log