Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Example Cypress test suite
// a very short Cypress test suite
describe('Admin user', () => {
it('Create posts journey', () => {
const postTitle = 'Hello testing'
cy.get('input[id=title]').type(postTitle)
cy.get('button[title=Create]').click()
cy.get('table tr:last label').should('contain', postTitle)
})
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.